diff --git a/examples/go.mod b/examples/go.mod index 55e66012..c0c45280 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-databricks/examples go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.86.0 +require github.com/pulumi/pulumi/pkg/v3 v3.89.0 require ( cloud.google.com/go v0.110.4 // indirect @@ -111,7 +111,7 @@ require ( github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.16.2 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect @@ -154,9 +154,10 @@ require ( github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.86.0 // indirect + github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.89.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect @@ -166,7 +167,7 @@ require ( github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.3 // indirect + github.com/stretchr/testify v1.8.4 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect @@ -181,11 +182,12 @@ require ( gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect golang.org/x/crypto v0.9.0 // indirect - golang.org/x/mod v0.10.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect golang.org/x/net v0.10.0 // indirect golang.org/x/oauth2 v0.8.0 // indirect golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.9.0 // indirect + golang.org/x/sys v0.13.0 // indirect golang.org/x/term v0.8.0 // indirect golang.org/x/text v0.9.0 // indirect golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect diff --git a/examples/go.sum b/examples/go.sum index ab745422..b0506f26 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -993,8 +993,8 @@ github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+l github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/hcl/v2 v2.16.2 h1:mpkHZh/Tv+xet3sy3F9Ld4FyI2tUpWe9x3XtPx9f1a0= -github.com/hashicorp/hcl/v2 v2.16.2/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= @@ -1137,9 +1137,8 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= @@ -1462,10 +1461,12 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= -github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= +github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -1478,8 +1479,8 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -1579,8 +1580,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -1798,6 +1799,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1828,8 +1831,8 @@ golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= -golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2104,8 +2107,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= -golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= diff --git a/provider/cmd/pulumi-resource-databricks/bridge-metadata.json b/provider/cmd/pulumi-resource-databricks/bridge-metadata.json index 092c8100..3760fd29 100644 --- a/provider/cmd/pulumi-resource-databricks/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-databricks/bridge-metadata.json @@ -1327,6 +1327,10 @@ } } }, + "databricks_registered_model": { + "current": "databricks:index/registeredModel:RegisteredModel", + "majorVersion": 1 + }, "databricks_repo": { "current": "databricks:index/repo:Repo", "majorVersion": 1, @@ -1618,6 +1622,10 @@ } } }, + "databricks_system_schema": { + "current": "databricks:index/systemSchema:SystemSchema", + "majorVersion": 1 + }, "databricks_table": { "current": "databricks:index/table:Table", "majorVersion": 1, @@ -2775,6 +2783,7 @@ "databricks:index/permissions:Permissions": "databricks_permissions", "databricks:index/pipeline:Pipeline": "databricks_pipeline", "databricks:index/recipient:Recipient": "databricks_recipient", + "databricks:index/registeredModel:RegisteredModel": "databricks_registered_model", "databricks:index/repo:Repo": "databricks_repo", "databricks:index/schema:Schema": "databricks_schema", "databricks:index/secret:Secret": "databricks_secret", @@ -2794,6 +2803,7 @@ "databricks:index/sqlVisualization:SqlVisualization": "databricks_sql_visualization", "databricks:index/sqlWidget:SqlWidget": "databricks_sql_widget", "databricks:index/storageCredential:StorageCredential": "databricks_storage_credential", + "databricks:index/systemSchema:SystemSchema": "databricks_system_schema", "databricks:index/table:Table": "databricks_table", "databricks:index/token:Token": "databricks_token", "databricks:index/user:User": "databricks_user", @@ -3386,7 +3396,8 @@ "modelName": "model_name", "modelVersion": "model_version", "scaleToZeroEnabled": "scale_to_zero_enabled", - "workloadSize": "workload_size" + "workloadSize": "workload_size", + "workloadType": "workload_type" }, "databricks:index/ModelServingConfigTrafficConfigRoute:ModelServingConfigTrafficConfigRoute": { "servedModelName": "served_model_name", @@ -3576,7 +3587,8 @@ }, "databricks:index/SqlAlertOptions:SqlAlertOptions": { "customBody": "custom_body", - "customSubject": "custom_subject" + "customSubject": "custom_subject", + "emptyResultState": "empty_result_state" }, "databricks:index/SqlEndpointTags:SqlEndpointTags": { "customTags": "custom_tags" @@ -4836,6 +4848,11 @@ "ipAccessList": "ip_access_list", "sharingCode": "sharing_code" }, + "databricks:index/registeredModel:RegisteredModel": { + "catalogName": "catalog_name", + "schemaName": "schema_name", + "storageLocation": "storage_location" + }, "databricks:index/repo:Repo": { "commitHash": "commit_hash", "gitProvider": "git_provider", @@ -4888,6 +4905,7 @@ }, "databricks:index/sqlDashboard:SqlDashboard": { "createdAt": "created_at", + "dashboardFiltersEnabled": "dashboard_filters_enabled", "updatedAt": "updated_at" }, "databricks:index/sqlEndpoint:SqlEndpoint": { @@ -4958,6 +4976,9 @@ "metastoreId": "metastore_id", "readOnly": "read_only" }, + "databricks:index/systemSchema:SystemSchema": { + "metastoreId": "metastore_id" + }, "databricks:index/table:Table": { "catalogName": "catalog_name", "columns": "column", diff --git a/provider/cmd/pulumi-resource-databricks/schema.json b/provider/cmd/pulumi-resource-databricks/schema.json index 84bdd7a2..10d25889 100644 --- a/provider/cmd/pulumi-resource-databricks/schema.json +++ b/provider/cmd/pulumi-resource-databricks/schema.json @@ -2047,13 +2047,21 @@ "type": "object" }, "databricks:index/JobQueue:JobQueue": { - "type": "object" + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "required": [ + "enabled" + ] }, "databricks:index/JobRunAs:JobRunAs": { "properties": { "servicePrincipalName": { "type": "string", - "description": "The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role.\n\nExample\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.Job(\"this\", {runAs: {\n servicePrincipalName: \"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\",\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.Job(\"this\", run_as=databricks.JobRunAsArgs(\n service_principal_name=\"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\",\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.Job(\"this\", new()\n {\n RunAs = new Databricks.Inputs.JobRunAsArgs\n {\n ServicePrincipalName = \"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewJob(ctx, \"this\", \u0026databricks.JobArgs{\n\t\t\tRunAs: \u0026databricks.JobRunAsArgs{\n\t\t\t\tServicePrincipalName: pulumi.String(\"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Job;\nimport com.pulumi.databricks.JobArgs;\nimport com.pulumi.databricks.inputs.JobRunAsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new Job(\"this\", JobArgs.builder() \n .runAs(JobRunAsArgs.builder()\n .servicePrincipalName(\"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:Job\n properties:\n # ...\n runAs:\n servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349\n```\n" + "description": "The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role.\n\nExample:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.Job(\"this\", {runAs: {\n servicePrincipalName: \"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\",\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.Job(\"this\", run_as=databricks.JobRunAsArgs(\n service_principal_name=\"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\",\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.Job(\"this\", new()\n {\n RunAs = new Databricks.Inputs.JobRunAsArgs\n {\n ServicePrincipalName = \"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewJob(ctx, \"this\", \u0026databricks.JobArgs{\n\t\t\tRunAs: \u0026databricks.JobRunAsArgs{\n\t\t\t\tServicePrincipalName: pulumi.String(\"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Job;\nimport com.pulumi.databricks.JobArgs;\nimport com.pulumi.databricks.inputs.JobRunAsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new Job(\"this\", JobArgs.builder() \n .runAs(JobRunAsArgs.builder()\n .servicePrincipalName(\"8d23ae77-912e-4a19-81e4-b9c3f5cc9349\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:Job\n properties:\n # ...\n runAs:\n servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349\n```\n" }, "userName": { "type": "string", @@ -3458,7 +3466,15 @@ "description": "The email of the GCP service account created, to be granted access to relevant buckets.\n\n`azure_service_principal` optional configuration block for credential details for Azure (Legacy):\n" } }, - "type": "object" + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "credentialId", + "email" + ] + } + } }, "databricks:index/MetastoreDataAccessGcpServiceAccountKey:MetastoreDataAccessGcpServiceAccountKey": { "properties": { @@ -3599,6 +3615,10 @@ "workloadSize": { "type": "string", "description": "The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are \"Small\" (4 - 4 provisioned concurrency), \"Medium\" (8 - 16 provisioned concurrency), and \"Large\" (16 - 64 provisioned concurrency).\n" + }, + "workloadType": { + "type": "string", + "description": "The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`.\n" } }, "type": "object", @@ -4772,6 +4792,10 @@ "type": "string", "description": "Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions.\n" }, + "emptyResultState": { + "type": "string", + "description": "State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values.\n" + }, "muted": { "type": "boolean", "description": "Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered.\n" @@ -4899,19 +4923,22 @@ "$ref": "#/types/databricks:index/SqlQueryParameterEnum:SqlQueryParameterEnum" }, "name": { - "type": "string" + "type": "string", + "description": "The literal parameter marker that appears between double curly braces in the query text.\nParameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`.\n\nFor `text`, `number`, `date`, `datetime`, `datetimesec` block\n" }, "number": { "$ref": "#/types/databricks:index/SqlQueryParameterNumber:SqlQueryParameterNumber" }, "query": { - "$ref": "#/types/databricks:index/SqlQueryParameterQuery:SqlQueryParameterQuery" + "$ref": "#/types/databricks:index/SqlQueryParameterQuery:SqlQueryParameterQuery", + "description": "The text of the query to be run.\n" }, "text": { "$ref": "#/types/databricks:index/SqlQueryParameterText:SqlQueryParameterText" }, "title": { - "type": "string" + "type": "string", + "description": "The text displayed in a parameter picking widget.\n" } }, "type": "object", @@ -4922,7 +4949,8 @@ "databricks:index/SqlQueryParameterDate:SqlQueryParameterDate": { "properties": { "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" } }, "type": "object", @@ -4936,7 +4964,8 @@ "$ref": "#/types/databricks:index/SqlQueryParameterDateRangeRange:SqlQueryParameterDateRangeRange" }, "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" } }, "type": "object" @@ -4959,7 +4988,8 @@ "databricks:index/SqlQueryParameterDatetime:SqlQueryParameterDatetime": { "properties": { "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" } }, "type": "object", @@ -4973,7 +5003,8 @@ "$ref": "#/types/databricks:index/SqlQueryParameterDatetimeRangeRange:SqlQueryParameterDatetimeRangeRange" }, "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" } }, "type": "object" @@ -4996,7 +5027,8 @@ "databricks:index/SqlQueryParameterDatetimesec:SqlQueryParameterDatetimesec": { "properties": { "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" } }, "type": "object", @@ -5010,7 +5042,8 @@ "$ref": "#/types/databricks:index/SqlQueryParameterDatetimesecRangeRange:SqlQueryParameterDatetimesecRangeRange" }, "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" } }, "type": "object" @@ -5042,7 +5075,8 @@ } }, "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" }, "values": { "type": "array", @@ -5078,7 +5112,8 @@ "databricks:index/SqlQueryParameterNumber:SqlQueryParameterNumber": { "properties": { "value": { - "type": "number" + "type": "number", + "description": "The default value for this parameter.\n" } }, "type": "object", @@ -5095,7 +5130,8 @@ "type": "string" }, "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" }, "values": { "type": "array", @@ -5131,7 +5167,8 @@ "databricks:index/SqlQueryParameterText:SqlQueryParameterText": { "properties": { "value": { - "type": "string" + "type": "string", + "description": "The default value for this parameter.\n" } }, "type": "object", @@ -5356,7 +5393,15 @@ "description": "The email of the GCP service account created, to be granted access to relevant buckets.\n" } }, - "type": "object" + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "credentialId", + "email" + ] + } + } }, "databricks:index/StorageCredentialGcpServiceAccountKey:StorageCredentialGcpServiceAccountKey": { "properties": { @@ -7631,7 +7676,15 @@ "type": "object" }, "databricks:index/getJobJobSettingsSettingsQueue:getJobJobSettingsSettingsQueue": { - "type": "object" + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "required": [ + "enabled" + ] }, "databricks:index/getJobJobSettingsSettingsRunAs:getJobJobSettingsSettingsRunAs": { "properties": { @@ -9575,8 +9628,7 @@ "type": "array", "items": { "$ref": "#/types/databricks:index/ClusterClusterMountInfo:ClusterClusterMountInfo" - }, - "deprecationMessage": "cluster_mount_info block is deprecated due the Clusters API changes." + } }, "clusterName": { "type": "string", @@ -9741,8 +9793,7 @@ "type": "array", "items": { "$ref": "#/types/databricks:index/ClusterClusterMountInfo:ClusterClusterMountInfo" - }, - "deprecationMessage": "cluster_mount_info block is deprecated due the Clusters API changes." + } }, "clusterName": { "type": "string", @@ -9887,8 +9938,7 @@ "type": "array", "items": { "$ref": "#/types/databricks:index/ClusterClusterMountInfo:ClusterClusterMountInfo" - }, - "deprecationMessage": "cluster_mount_info block is deprecated due the Clusters API changes." + } }, "clusterName": { "type": "string", @@ -10852,6 +10902,9 @@ "metastore": { "type": "string" }, + "model": { + "type": "string" + }, "schema": { "type": "string" }, @@ -10910,6 +10963,10 @@ "type": "string", "willReplaceOnChanges": true }, + "model": { + "type": "string", + "willReplaceOnChanges": true + }, "schema": { "type": "string", "willReplaceOnChanges": true @@ -10976,6 +11033,10 @@ "type": "string", "willReplaceOnChanges": true }, + "model": { + "type": "string", + "willReplaceOnChanges": true + }, "schema": { "type": "string", "willReplaceOnChanges": true @@ -12694,7 +12755,7 @@ } }, "databricks:index/mlflowExperiment:MlflowExperiment": { - "description": "This resource allows you to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = databricks.getCurrentUser({});\nconst _this = new databricks.MlflowExperiment(\"this\", {\n artifactLocation: \"dbfs:/tmp/my-experiment\",\n description: \"My MLflow experiment description\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.get_current_user()\nthis = databricks.MlflowExperiment(\"this\",\n artifact_location=\"dbfs:/tmp/my-experiment\",\n description=\"My MLflow experiment description\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetCurrentUser.Invoke();\n\n var @this = new Databricks.MlflowExperiment(\"this\", new()\n {\n ArtifactLocation = \"dbfs:/tmp/my-experiment\",\n Description = \"My MLflow experiment description\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.GetCurrentUser(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewMlflowExperiment(ctx, \"this\", \u0026databricks.MlflowExperimentArgs{\n\t\t\tArtifactLocation: pulumi.String(\"dbfs:/tmp/my-experiment\"),\n\t\t\tDescription: pulumi.String(\"My MLflow experiment description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.MlflowExperiment;\nimport com.pulumi.databricks.MlflowExperimentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getCurrentUser();\n\n var this_ = new MlflowExperiment(\"this\", MlflowExperimentArgs.builder() \n .artifactLocation(\"dbfs:/tmp/my-experiment\")\n .description(\"My MLflow experiment description\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MlflowExperiment\n properties:\n artifactLocation: dbfs:/tmp/my-experiment\n description: My MLflow experiment description\nvariables:\n me:\n fn::invoke:\n Function: databricks:getCurrentUser\n Arguments: {}\n```\n{{% /example %}}\n{{% /examples %}}\n## Access Control\n\n* databricks.Permissions can control which groups or individual users can *Read*, *Edit*, or *Manage* individual experiments.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* End to end workspace management guide.\n* databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).\n* databricks.MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Notebook data to export a notebook from Databricks Workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n\n\n## Import\n\nThe experiment resource can be imported using the id of the experiment bash\n\n```sh\n $ pulumi import databricks:index/mlflowExperiment:MlflowExperiment this \u003cexperiment-id\u003e\n```\n\n ", + "description": "This resource allows you to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst me = databricks.getCurrentUser({});\nconst _this = new databricks.MlflowExperiment(\"this\", {\n artifactLocation: \"dbfs:/tmp/my-experiment\",\n description: \"My MLflow experiment description\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nme = databricks.get_current_user()\nthis = databricks.MlflowExperiment(\"this\",\n artifact_location=\"dbfs:/tmp/my-experiment\",\n description=\"My MLflow experiment description\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Databricks.GetCurrentUser.Invoke();\n\n var @this = new Databricks.MlflowExperiment(\"this\", new()\n {\n ArtifactLocation = \"dbfs:/tmp/my-experiment\",\n Description = \"My MLflow experiment description\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.GetCurrentUser(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewMlflowExperiment(ctx, \"this\", \u0026databricks.MlflowExperimentArgs{\n\t\t\tArtifactLocation: pulumi.String(\"dbfs:/tmp/my-experiment\"),\n\t\t\tDescription: pulumi.String(\"My MLflow experiment description\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.MlflowExperiment;\nimport com.pulumi.databricks.MlflowExperimentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = DatabricksFunctions.getCurrentUser();\n\n var this_ = new MlflowExperiment(\"this\", MlflowExperimentArgs.builder() \n .artifactLocation(\"dbfs:/tmp/my-experiment\")\n .description(\"My MLflow experiment description\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:MlflowExperiment\n properties:\n artifactLocation: dbfs:/tmp/my-experiment\n description: My MLflow experiment description\nvariables:\n me:\n fn::invoke:\n Function: databricks:getCurrentUser\n Arguments: {}\n```\n{{% /example %}}\n{{% /examples %}}\n## Access Control\n\n* databricks.Permissions can control which groups or individual users can *Read*, *Edit*, or *Manage* individual experiments.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.\n* End to end workspace management guide.\n* databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).\n* databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Notebook data to export a notebook from Databricks Workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n\n\n## Import\n\nThe experiment resource can be imported using the id of the experiment bash\n\n```sh\n $ pulumi import databricks:index/mlflowExperiment:MlflowExperiment this \u003cexperiment-id\u003e\n```\n\n ", "properties": { "artifactLocation": { "type": "string", @@ -12788,7 +12849,7 @@ } }, "databricks:index/mlflowModel:MlflowModel": { - "description": "This resource allows you to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst test = new databricks.MlflowModel(\"test\", {\n description: \"My MLflow model description\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest = databricks.MlflowModel(\"test\",\n description=\"My MLflow model description\",\n tags=[\n databricks.MlflowModelTagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n databricks.MlflowModelTagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Databricks.MlflowModel(\"test\", new()\n {\n Description = \"My MLflow model description\",\n Tags = new[]\n {\n new Databricks.Inputs.MlflowModelTagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new Databricks.Inputs.MlflowModelTagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMlflowModel(ctx, \"test\", \u0026databricks.MlflowModelArgs{\n\t\t\tDescription: pulumi.String(\"My MLflow model description\"),\n\t\t\tTags: databricks.MlflowModelTagArray{\n\t\t\t\t\u0026databricks.MlflowModelTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.MlflowModelTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MlflowModel;\nimport com.pulumi.databricks.MlflowModelArgs;\nimport com.pulumi.databricks.inputs.MlflowModelTagArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new MlflowModel(\"test\", MlflowModelArgs.builder() \n .description(\"My MLflow model description\")\n .tags( \n MlflowModelTagArgs.builder()\n .key(\"key1\")\n .value(\"value1\")\n .build(),\n MlflowModelTagArgs.builder()\n .key(\"key2\")\n .value(\"value2\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: databricks:MlflowModel\n properties:\n description: My MLflow model description\n tags:\n - key: key1\n value: value1\n - key: key2\n value: value2\n```\n{{% /example %}}\n{{% /examples %}}\n## Access Control\n\n* databricks.Permissions can control which groups or individual users can *Read*, *Edit*, *Manage Staging Versions*, *Manage Production Versions*, and *Manage* individual models.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* End to end workspace management guide.\n* databricks.ModelServing to serve this model on a Databricks serving endpoint.\n* databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html).\n* databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Notebook data to export a notebook from Databricks Workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n\n\n## Import\n\nThe model resource can be imported using the name bash\n\n```sh\n $ pulumi import databricks:index/mlflowModel:MlflowModel this \u003cname\u003e\n```\n\n ", + "description": "This resource allows you to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks.\n\n**Note** This documentation covers the Workspace Model Registry. Databricks recommends using Models in Unity Catalog. Models in Unity Catalog provides centralized model governance, cross-workspace access, lineage, and deployment.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst test = new databricks.MlflowModel(\"test\", {\n description: \"My MLflow model description\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\ntest = databricks.MlflowModel(\"test\",\n description=\"My MLflow model description\",\n tags=[\n databricks.MlflowModelTagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n databricks.MlflowModelTagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Databricks.MlflowModel(\"test\", new()\n {\n Description = \"My MLflow model description\",\n Tags = new[]\n {\n new Databricks.Inputs.MlflowModelTagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new Databricks.Inputs.MlflowModelTagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewMlflowModel(ctx, \"test\", \u0026databricks.MlflowModelArgs{\n\t\t\tDescription: pulumi.String(\"My MLflow model description\"),\n\t\t\tTags: databricks.MlflowModelTagArray{\n\t\t\t\t\u0026databricks.MlflowModelTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026databricks.MlflowModelTagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.MlflowModel;\nimport com.pulumi.databricks.MlflowModelArgs;\nimport com.pulumi.databricks.inputs.MlflowModelTagArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new MlflowModel(\"test\", MlflowModelArgs.builder() \n .description(\"My MLflow model description\")\n .tags( \n MlflowModelTagArgs.builder()\n .key(\"key1\")\n .value(\"value1\")\n .build(),\n MlflowModelTagArgs.builder()\n .key(\"key2\")\n .value(\"value2\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: databricks:MlflowModel\n properties:\n description: My MLflow model description\n tags:\n - key: key1\n value: value1\n - key: key2\n value: value2\n```\n{{% /example %}}\n{{% /examples %}}\n## Access Control\n\n* databricks.Permissions can control which groups or individual users can *Read*, *Edit*, *Manage Staging Versions*, *Manage Production Versions*, and *Manage* individual models.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.\n* End to end workspace management guide.\n* databricks.ModelServing to serve this model on a Databricks serving endpoint.\n* databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html).\n* databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Notebook data to export a notebook from Databricks Workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n\n\n## Import\n\nThe model resource can be imported using the name bash\n\n```sh\n $ pulumi import databricks:index/mlflowModel:MlflowModel this \u003cname\u003e\n```\n\n ", "properties": { "creationTimestamp": { "type": "integer" @@ -12979,7 +13040,7 @@ } }, "databricks:index/modelServing:ModelServing": { - "description": "This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.ModelServing(\"this\", {config: {\n servedModels: [\n {\n modelName: \"ads-model\",\n modelVersion: \"2\",\n name: \"prod_model\",\n scaleToZeroEnabled: true,\n workloadSize: \"Small\",\n },\n {\n modelName: \"ads-model\",\n modelVersion: \"4\",\n name: \"candidate_model\",\n scaleToZeroEnabled: false,\n workloadSize: \"Small\",\n },\n ],\n trafficConfig: {\n routes: [\n {\n servedModelName: \"prod_model\",\n trafficPercentage: 90,\n },\n {\n servedModelName: \"candidate_model\",\n trafficPercentage: 10,\n },\n ],\n },\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.ModelServing(\"this\", config=databricks.ModelServingConfigArgs(\n served_models=[\n databricks.ModelServingConfigServedModelArgs(\n model_name=\"ads-model\",\n model_version=\"2\",\n name=\"prod_model\",\n scale_to_zero_enabled=True,\n workload_size=\"Small\",\n ),\n databricks.ModelServingConfigServedModelArgs(\n model_name=\"ads-model\",\n model_version=\"4\",\n name=\"candidate_model\",\n scale_to_zero_enabled=False,\n workload_size=\"Small\",\n ),\n ],\n traffic_config=databricks.ModelServingConfigTrafficConfigArgs(\n routes=[\n databricks.ModelServingConfigTrafficConfigRouteArgs(\n served_model_name=\"prod_model\",\n traffic_percentage=90,\n ),\n databricks.ModelServingConfigTrafficConfigRouteArgs(\n served_model_name=\"candidate_model\",\n traffic_percentage=10,\n ),\n ],\n ),\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.ModelServing(\"this\", new()\n {\n Config = new Databricks.Inputs.ModelServingConfigArgs\n {\n ServedModels = new[]\n {\n new Databricks.Inputs.ModelServingConfigServedModelArgs\n {\n ModelName = \"ads-model\",\n ModelVersion = \"2\",\n Name = \"prod_model\",\n ScaleToZeroEnabled = true,\n WorkloadSize = \"Small\",\n },\n new Databricks.Inputs.ModelServingConfigServedModelArgs\n {\n ModelName = \"ads-model\",\n ModelVersion = \"4\",\n Name = \"candidate_model\",\n ScaleToZeroEnabled = false,\n WorkloadSize = \"Small\",\n },\n },\n TrafficConfig = new Databricks.Inputs.ModelServingConfigTrafficConfigArgs\n {\n Routes = new[]\n {\n new Databricks.Inputs.ModelServingConfigTrafficConfigRouteArgs\n {\n ServedModelName = \"prod_model\",\n TrafficPercentage = 90,\n },\n new Databricks.Inputs.ModelServingConfigTrafficConfigRouteArgs\n {\n ServedModelName = \"candidate_model\",\n TrafficPercentage = 10,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewModelServing(ctx, \"this\", \u0026databricks.ModelServingArgs{\n\t\t\tConfig: \u0026databricks.ModelServingConfigArgs{\n\t\t\t\tServedModels: databricks.ModelServingConfigServedModelArray{\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedModelArgs{\n\t\t\t\t\t\tModelName: pulumi.String(\"ads-model\"),\n\t\t\t\t\t\tModelVersion: pulumi.String(\"2\"),\n\t\t\t\t\t\tName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedModelArgs{\n\t\t\t\t\t\tModelName: pulumi.String(\"ads-model\"),\n\t\t\t\t\t\tModelVersion: pulumi.String(\"4\"),\n\t\t\t\t\t\tName: pulumi.String(\"candidate_model\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(false),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tTrafficConfig: \u0026databricks.ModelServingConfigTrafficConfigArgs{\n\t\t\t\t\tRoutes: databricks.ModelServingConfigTrafficConfigRouteArray{\n\t\t\t\t\t\t\u0026databricks.ModelServingConfigTrafficConfigRouteArgs{\n\t\t\t\t\t\t\tServedModelName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\t\tTrafficPercentage: pulumi.Int(90),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026databricks.ModelServingConfigTrafficConfigRouteArgs{\n\t\t\t\t\t\t\tServedModelName: pulumi.String(\"candidate_model\"),\n\t\t\t\t\t\t\tTrafficPercentage: pulumi.Int(10),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ModelServing;\nimport com.pulumi.databricks.ModelServingArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigTrafficConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new ModelServing(\"this\", ModelServingArgs.builder() \n .config(ModelServingConfigArgs.builder()\n .servedModels( \n ModelServingConfigServedModelArgs.builder()\n .modelName(\"ads-model\")\n .modelVersion(\"2\")\n .name(\"prod_model\")\n .scaleToZeroEnabled(true)\n .workloadSize(\"Small\")\n .build(),\n ModelServingConfigServedModelArgs.builder()\n .modelName(\"ads-model\")\n .modelVersion(\"4\")\n .name(\"candidate_model\")\n .scaleToZeroEnabled(false)\n .workloadSize(\"Small\")\n .build())\n .trafficConfig(ModelServingConfigTrafficConfigArgs.builder()\n .routes( \n ModelServingConfigTrafficConfigRouteArgs.builder()\n .servedModelName(\"prod_model\")\n .trafficPercentage(90)\n .build(),\n ModelServingConfigTrafficConfigRouteArgs.builder()\n .servedModelName(\"candidate_model\")\n .trafficPercentage(10)\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:ModelServing\n properties:\n config:\n servedModels:\n - modelName: ads-model\n modelVersion: '2'\n name: prod_model\n scaleToZeroEnabled: true\n workloadSize: Small\n - modelName: ads-model\n modelVersion: '4'\n name: candidate_model\n scaleToZeroEnabled: false\n workloadSize: Small\n trafficConfig:\n routes:\n - servedModelName: prod_model\n trafficPercentage: 90\n - servedModelName: candidate_model\n trafficPercentage: 10\n```\n{{% /example %}}\n{{% /examples %}}\n## Access Control\n\n* databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* End to end workspace management guide.\n* databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html).\n* databricks.MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Notebook data to export a notebook from Databricks Workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n\n\n## Import\n\nThe model serving resource can be imported using the name of the endpoint. bash\n\n```sh\n $ pulumi import databricks:index/modelServing:ModelServing this \u003cmodel-serving-endpoint-name\u003e\n```\n\n ", + "description": "This resource allows you to manage [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.ModelServing(\"this\", {config: {\n servedModels: [\n {\n modelName: \"ads-model\",\n modelVersion: \"2\",\n name: \"prod_model\",\n scaleToZeroEnabled: true,\n workloadSize: \"Small\",\n },\n {\n modelName: \"ads-model\",\n modelVersion: \"4\",\n name: \"candidate_model\",\n scaleToZeroEnabled: false,\n workloadSize: \"Small\",\n },\n ],\n trafficConfig: {\n routes: [\n {\n servedModelName: \"prod_model\",\n trafficPercentage: 90,\n },\n {\n servedModelName: \"candidate_model\",\n trafficPercentage: 10,\n },\n ],\n },\n}});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.ModelServing(\"this\", config=databricks.ModelServingConfigArgs(\n served_models=[\n databricks.ModelServingConfigServedModelArgs(\n model_name=\"ads-model\",\n model_version=\"2\",\n name=\"prod_model\",\n scale_to_zero_enabled=True,\n workload_size=\"Small\",\n ),\n databricks.ModelServingConfigServedModelArgs(\n model_name=\"ads-model\",\n model_version=\"4\",\n name=\"candidate_model\",\n scale_to_zero_enabled=False,\n workload_size=\"Small\",\n ),\n ],\n traffic_config=databricks.ModelServingConfigTrafficConfigArgs(\n routes=[\n databricks.ModelServingConfigTrafficConfigRouteArgs(\n served_model_name=\"prod_model\",\n traffic_percentage=90,\n ),\n databricks.ModelServingConfigTrafficConfigRouteArgs(\n served_model_name=\"candidate_model\",\n traffic_percentage=10,\n ),\n ],\n ),\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.ModelServing(\"this\", new()\n {\n Config = new Databricks.Inputs.ModelServingConfigArgs\n {\n ServedModels = new[]\n {\n new Databricks.Inputs.ModelServingConfigServedModelArgs\n {\n ModelName = \"ads-model\",\n ModelVersion = \"2\",\n Name = \"prod_model\",\n ScaleToZeroEnabled = true,\n WorkloadSize = \"Small\",\n },\n new Databricks.Inputs.ModelServingConfigServedModelArgs\n {\n ModelName = \"ads-model\",\n ModelVersion = \"4\",\n Name = \"candidate_model\",\n ScaleToZeroEnabled = false,\n WorkloadSize = \"Small\",\n },\n },\n TrafficConfig = new Databricks.Inputs.ModelServingConfigTrafficConfigArgs\n {\n Routes = new[]\n {\n new Databricks.Inputs.ModelServingConfigTrafficConfigRouteArgs\n {\n ServedModelName = \"prod_model\",\n TrafficPercentage = 90,\n },\n new Databricks.Inputs.ModelServingConfigTrafficConfigRouteArgs\n {\n ServedModelName = \"candidate_model\",\n TrafficPercentage = 10,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewModelServing(ctx, \"this\", \u0026databricks.ModelServingArgs{\n\t\t\tConfig: \u0026databricks.ModelServingConfigArgs{\n\t\t\t\tServedModels: databricks.ModelServingConfigServedModelArray{\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedModelArgs{\n\t\t\t\t\t\tModelName: pulumi.String(\"ads-model\"),\n\t\t\t\t\t\tModelVersion: pulumi.String(\"2\"),\n\t\t\t\t\t\tName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026databricks.ModelServingConfigServedModelArgs{\n\t\t\t\t\t\tModelName: pulumi.String(\"ads-model\"),\n\t\t\t\t\t\tModelVersion: pulumi.String(\"4\"),\n\t\t\t\t\t\tName: pulumi.String(\"candidate_model\"),\n\t\t\t\t\t\tScaleToZeroEnabled: pulumi.Bool(false),\n\t\t\t\t\t\tWorkloadSize: pulumi.String(\"Small\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tTrafficConfig: \u0026databricks.ModelServingConfigTrafficConfigArgs{\n\t\t\t\t\tRoutes: databricks.ModelServingConfigTrafficConfigRouteArray{\n\t\t\t\t\t\t\u0026databricks.ModelServingConfigTrafficConfigRouteArgs{\n\t\t\t\t\t\t\tServedModelName: pulumi.String(\"prod_model\"),\n\t\t\t\t\t\t\tTrafficPercentage: pulumi.Int(90),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026databricks.ModelServingConfigTrafficConfigRouteArgs{\n\t\t\t\t\t\t\tServedModelName: pulumi.String(\"candidate_model\"),\n\t\t\t\t\t\t\tTrafficPercentage: pulumi.Int(10),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.ModelServing;\nimport com.pulumi.databricks.ModelServingArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigArgs;\nimport com.pulumi.databricks.inputs.ModelServingConfigTrafficConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new ModelServing(\"this\", ModelServingArgs.builder() \n .config(ModelServingConfigArgs.builder()\n .servedModels( \n ModelServingConfigServedModelArgs.builder()\n .modelName(\"ads-model\")\n .modelVersion(\"2\")\n .name(\"prod_model\")\n .scaleToZeroEnabled(true)\n .workloadSize(\"Small\")\n .build(),\n ModelServingConfigServedModelArgs.builder()\n .modelName(\"ads-model\")\n .modelVersion(\"4\")\n .name(\"candidate_model\")\n .scaleToZeroEnabled(false)\n .workloadSize(\"Small\")\n .build())\n .trafficConfig(ModelServingConfigTrafficConfigArgs.builder()\n .routes( \n ModelServingConfigTrafficConfigRouteArgs.builder()\n .servedModelName(\"prod_model\")\n .trafficPercentage(90)\n .build(),\n ModelServingConfigTrafficConfigRouteArgs.builder()\n .servedModelName(\"candidate_model\")\n .trafficPercentage(10)\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:ModelServing\n properties:\n config:\n servedModels:\n - modelName: ads-model\n modelVersion: '2'\n name: prod_model\n scaleToZeroEnabled: true\n workloadSize: Small\n - modelName: ads-model\n modelVersion: '4'\n name: candidate_model\n scaleToZeroEnabled: false\n workloadSize: Small\n trafficConfig:\n routes:\n - servedModelName: prod_model\n trafficPercentage: 90\n - servedModelName: candidate_model\n trafficPercentage: 10\n```\n{{% /example %}}\n{{% /examples %}}\n## Access Control\n\n* databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.\n* End to end workspace management guide.\n* databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html).\n* databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Notebook data to export a notebook from Databricks Workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n\n\n## Import\n\nThe model serving resource can be imported using the name of the endpoint. bash\n\n```sh\n $ pulumi import databricks:index/modelServing:ModelServing this \u003cmodel-serving-endpoint-name\u003e\n```\n\n ", "properties": { "config": { "$ref": "#/types/databricks:index/ModelServingConfig:ModelServingConfig", @@ -15404,7 +15465,7 @@ } }, "databricks:index/recipient:Recipient": { - "description": "Within a metastore, Unity Catalog provides the ability to create a recipient to attach delta shares to.\n\nA `databricks.Recipient` is contained within databricks.Metastore and can have permissions to `SELECT` from a list of shares.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Databricks Sharing with non databricks recipient\n\nSetting `authentication_type` type to `TOKEN` creates a temporary url to download a credentials file. This is used to\nauthenticate to the sharing server to access data. This is for when the recipient is not using Databricks.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as random from \"@pulumi/random\";\n\nconst db2opensharecode = new random.RandomPassword(\"db2opensharecode\", {\n length: 16,\n special: true,\n});\nconst current = databricks.getCurrentUser({});\nconst db2open = new databricks.Recipient(\"db2open\", {\n comment: \"made by terraform\",\n authenticationType: \"TOKEN\",\n sharingCode: db2opensharecode.result,\n ipAccessList: {\n allowedIpAddresses: [],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_random as random\n\ndb2opensharecode = random.RandomPassword(\"db2opensharecode\",\n length=16,\n special=True)\ncurrent = databricks.get_current_user()\ndb2open = databricks.Recipient(\"db2open\",\n comment=\"made by terraform\",\n authentication_type=\"TOKEN\",\n sharing_code=db2opensharecode.result,\n ip_access_list=databricks.RecipientIpAccessListArgs(\n allowed_ip_addresses=[],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var db2opensharecode = new Random.RandomPassword(\"db2opensharecode\", new()\n {\n Length = 16,\n Special = true,\n });\n\n var current = Databricks.GetCurrentUser.Invoke();\n\n var db2open = new Databricks.Recipient(\"db2open\", new()\n {\n Comment = \"made by terraform\",\n AuthenticationType = \"TOKEN\",\n SharingCode = db2opensharecode.Result,\n IpAccessList = new Databricks.Inputs.RecipientIpAccessListArgs\n {\n AllowedIpAddresses = new[] {},\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdb2opensharecode, err := random.NewRandomPassword(ctx, \"db2opensharecode\", \u0026random.RandomPasswordArgs{\n\t\t\tLength: pulumi.Int(16),\n\t\t\tSpecial: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.GetCurrentUser(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewRecipient(ctx, \"db2open\", \u0026databricks.RecipientArgs{\n\t\t\tComment: pulumi.String(\"made by terraform\"),\n\t\t\tAuthenticationType: pulumi.String(\"TOKEN\"),\n\t\t\tSharingCode: db2opensharecode.Result,\n\t\t\tIpAccessList: \u0026databricks.RecipientIpAccessListArgs{\n\t\t\t\tAllowedIpAddresses: pulumi.StringArray{},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.RandomPassword;\nimport com.pulumi.random.RandomPasswordArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.Recipient;\nimport com.pulumi.databricks.RecipientArgs;\nimport com.pulumi.databricks.inputs.RecipientIpAccessListArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var db2opensharecode = new RandomPassword(\"db2opensharecode\", RandomPasswordArgs.builder() \n .length(16)\n .special(true)\n .build());\n\n final var current = DatabricksFunctions.getCurrentUser();\n\n var db2open = new Recipient(\"db2open\", RecipientArgs.builder() \n .comment(\"made by terraform\")\n .authenticationType(\"TOKEN\")\n .sharingCode(db2opensharecode.result())\n .ipAccessList(RecipientIpAccessListArgs.builder()\n .allowedIpAddresses()\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n db2opensharecode:\n type: random:RandomPassword\n properties:\n length: 16\n special: true\n db2open:\n type: databricks:Recipient\n properties:\n comment: made by terraform\n authenticationType: TOKEN\n sharingCode: ${db2opensharecode.result}\n ipAccessList:\n allowedIpAddresses: []\nvariables:\n current:\n fn::invoke:\n Function: databricks:getCurrentUser\n Arguments: {}\n```\n{{% /example %}}\n{{% /examples %}}\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.Share to create Delta Sharing shares.\n* databricks.Grants to manage Delta Sharing permissions.\n* databricks.getShares to read existing Delta Sharing shares.\n", + "description": "Within a metastore, Unity Catalog provides the ability to create a recipient to attach delta shares to.\n\nA `databricks.Recipient` is contained within databricks.Metastore and can have permissions to `SELECT` from a list of shares.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Databricks Sharing with non databricks recipient\n\nSetting `authentication_type` type to `TOKEN` creates a temporary url to download a credentials file. This is used to\nauthenticate to the sharing server to access data. This is for when the recipient is not using Databricks.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\nimport * as random from \"@pulumi/random\";\n\nconst db2opensharecode = new random.RandomPassword(\"db2opensharecode\", {\n length: 16,\n special: true,\n});\nconst current = databricks.getCurrentUser({});\nconst db2open = new databricks.Recipient(\"db2open\", {\n comment: \"made by terraform\",\n authenticationType: \"TOKEN\",\n sharingCode: db2opensharecode.result,\n ipAccessList: {\n allowedIpAddresses: [],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\nimport pulumi_random as random\n\ndb2opensharecode = random.RandomPassword(\"db2opensharecode\",\n length=16,\n special=True)\ncurrent = databricks.get_current_user()\ndb2open = databricks.Recipient(\"db2open\",\n comment=\"made by terraform\",\n authentication_type=\"TOKEN\",\n sharing_code=db2opensharecode.result,\n ip_access_list=databricks.RecipientIpAccessListArgs(\n allowed_ip_addresses=[],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var db2opensharecode = new Random.RandomPassword(\"db2opensharecode\", new()\n {\n Length = 16,\n Special = true,\n });\n\n var current = Databricks.GetCurrentUser.Invoke();\n\n var db2open = new Databricks.Recipient(\"db2open\", new()\n {\n Comment = \"made by terraform\",\n AuthenticationType = \"TOKEN\",\n SharingCode = db2opensharecode.Result,\n IpAccessList = new Databricks.Inputs.RecipientIpAccessListArgs\n {\n AllowedIpAddresses = new() { },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdb2opensharecode, err := random.NewRandomPassword(ctx, \"db2opensharecode\", \u0026random.RandomPasswordArgs{\n\t\t\tLength: pulumi.Int(16),\n\t\t\tSpecial: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.GetCurrentUser(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewRecipient(ctx, \"db2open\", \u0026databricks.RecipientArgs{\n\t\t\tComment: pulumi.String(\"made by terraform\"),\n\t\t\tAuthenticationType: pulumi.String(\"TOKEN\"),\n\t\t\tSharingCode: db2opensharecode.Result,\n\t\t\tIpAccessList: \u0026databricks.RecipientIpAccessListArgs{\n\t\t\t\tAllowedIpAddresses: pulumi.StringArray{},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.RandomPassword;\nimport com.pulumi.random.RandomPasswordArgs;\nimport com.pulumi.databricks.DatabricksFunctions;\nimport com.pulumi.databricks.Recipient;\nimport com.pulumi.databricks.RecipientArgs;\nimport com.pulumi.databricks.inputs.RecipientIpAccessListArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var db2opensharecode = new RandomPassword(\"db2opensharecode\", RandomPasswordArgs.builder() \n .length(16)\n .special(true)\n .build());\n\n final var current = DatabricksFunctions.getCurrentUser();\n\n var db2open = new Recipient(\"db2open\", RecipientArgs.builder() \n .comment(\"made by terraform\")\n .authenticationType(\"TOKEN\")\n .sharingCode(db2opensharecode.result())\n .ipAccessList(RecipientIpAccessListArgs.builder()\n .allowedIpAddresses()\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n db2opensharecode:\n type: random:RandomPassword\n properties:\n length: 16\n special: true\n db2open:\n type: databricks:Recipient\n properties:\n comment: made by terraform\n authenticationType: TOKEN\n sharingCode: ${db2opensharecode.result}\n ipAccessList:\n allowedIpAddresses: []\nvariables:\n current:\n fn::invoke:\n Function: databricks:getCurrentUser\n Arguments: {}\n```\n{{% /example %}}\n{{% /examples %}}\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.Share to create Delta Sharing shares.\n* databricks.Grants to manage Delta Sharing permissions.\n* databricks.getShares to read existing Delta Sharing shares.\n", "properties": { "authenticationType": { "type": "string", @@ -15528,6 +15589,94 @@ "type": "object" } }, + "databricks:index/registeredModel:RegisteredModel": { + "description": "This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.RegisteredModel(\"this\", {\n catalogName: \"main\",\n schemaName: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.RegisteredModel(\"this\",\n catalog_name=\"main\",\n schema_name=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.RegisteredModel(\"this\", new()\n {\n CatalogName = \"main\",\n SchemaName = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewRegisteredModel(ctx, \"this\", \u0026databricks.RegisteredModelArgs{\n\t\t\tCatalogName: pulumi.String(\"main\"),\n\t\t\tSchemaName: pulumi.String(\"default\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.RegisteredModel;\nimport com.pulumi.databricks.RegisteredModelArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new RegisteredModel(\"this\", RegisteredModelArgs.builder() \n .catalogName(\"main\")\n .schemaName(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:RegisteredModel\n properties:\n catalogName: main\n schemaName: default\n```\n{{% /example %}}\n{{% /examples %}}\n## Access Control\n\n* databricks.Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges.\n\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* databricks.ModelServing to serve this model on a Databricks serving endpoint.\n* databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.\n* databricks.Table data to manage tables within Unity Catalog.\n* databricks.Schema data to manage schemas within Unity Catalog.\n* databricks.Catalog data to manage catalogs within Unity Catalog.\n\n\n## Import\n\nThe registered model resource can be imported using the full (3-level) name of the model. bash\n\n```sh\n $ pulumi import databricks:index/registeredModel:RegisteredModel this \u003ccatalog_name.schema_name.model_name\u003e\n```\n\n ", + "properties": { + "catalogName": { + "type": "string", + "description": "The name of the catalog where the schema and the registered model reside.\n" + }, + "comment": { + "type": "string", + "description": "The comment attached to the registered model.\n" + }, + "name": { + "type": "string", + "description": "The name of the registered model.\n" + }, + "schemaName": { + "type": "string", + "description": "The name of the schema where the registered model resides.\n" + }, + "storageLocation": { + "type": "string" + } + }, + "required": [ + "catalogName", + "name", + "schemaName", + "storageLocation" + ], + "inputProperties": { + "catalogName": { + "type": "string", + "description": "The name of the catalog where the schema and the registered model reside.\n", + "willReplaceOnChanges": true + }, + "comment": { + "type": "string", + "description": "The comment attached to the registered model.\n" + }, + "name": { + "type": "string", + "description": "The name of the registered model.\n", + "willReplaceOnChanges": true + }, + "schemaName": { + "type": "string", + "description": "The name of the schema where the registered model resides.\n", + "willReplaceOnChanges": true + }, + "storageLocation": { + "type": "string", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "catalogName", + "schemaName" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering RegisteredModel resources.\n", + "properties": { + "catalogName": { + "type": "string", + "description": "The name of the catalog where the schema and the registered model reside.\n", + "willReplaceOnChanges": true + }, + "comment": { + "type": "string", + "description": "The comment attached to the registered model.\n" + }, + "name": { + "type": "string", + "description": "The name of the registered model.\n", + "willReplaceOnChanges": true + }, + "schemaName": { + "type": "string", + "description": "The name of the schema where the registered model resides.\n", + "willReplaceOnChanges": true + }, + "storageLocation": { + "type": "string", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, "databricks:index/repo:Repo": { "description": "\n\n\n## Import\n\nThe resource Repo can be imported using the Repo ID (obtained via UI or using API) bash\n\n```sh\n $ pulumi import databricks:index/repo:Repo this repo_id\n```\n\n ", "properties": { @@ -15675,7 +15824,7 @@ }, "storageRoot": { "type": "string", - "description": "Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.\n" + "description": "Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.\n" } }, "required": [ @@ -15719,7 +15868,7 @@ }, "storageRoot": { "type": "string", - "description": "Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.\n", + "description": "Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.\n", "willReplaceOnChanges": true } }, @@ -15763,7 +15912,7 @@ }, "storageRoot": { "type": "string", - "description": "Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.\n", + "description": "Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.\n", "willReplaceOnChanges": true } }, @@ -15857,7 +16006,7 @@ } }, "databricks:index/secretAcl:SecretAcl": { - "description": "Create or overwrite the ACL associated with the given principal (user or group) on the specified databricks_secret_scope. Please consult [Secrets User Guide](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) for more details.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nThis way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ds = new databricks.Group(\"ds\", {});\nconst app = new databricks.SecretScope(\"app\", {});\nconst mySecretAcl = new databricks.SecretAcl(\"mySecretAcl\", {\n principal: ds.displayName,\n permission: \"READ\",\n scope: app.name,\n});\nconst publishingApi = new databricks.Secret(\"publishingApi\", {\n key: \"publishing_api\",\n stringValue: data.azurerm_key_vault_secret.example.value,\n scope: app.name,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nds = databricks.Group(\"ds\")\napp = databricks.SecretScope(\"app\")\nmy_secret_acl = databricks.SecretAcl(\"mySecretAcl\",\n principal=ds.display_name,\n permission=\"READ\",\n scope=app.name)\npublishing_api = databricks.Secret(\"publishingApi\",\n key=\"publishing_api\",\n string_value=data[\"azurerm_key_vault_secret\"][\"example\"][\"value\"],\n scope=app.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ds = new Databricks.Group(\"ds\");\n\n var app = new Databricks.SecretScope(\"app\");\n\n var mySecretAcl = new Databricks.SecretAcl(\"mySecretAcl\", new()\n {\n Principal = ds.DisplayName,\n Permission = \"READ\",\n Scope = app.Name,\n });\n\n var publishingApi = new Databricks.Secret(\"publishingApi\", new()\n {\n Key = \"publishing_api\",\n StringValue = data.Azurerm_key_vault_secret.Example.Value,\n Scope = app.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tds, err := databricks.NewGroup(ctx, \"ds\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tapp, err := databricks.NewSecretScope(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewSecretAcl(ctx, \"mySecretAcl\", \u0026databricks.SecretAclArgs{\n\t\t\tPrincipal: ds.DisplayName,\n\t\t\tPermission: pulumi.String(\"READ\"),\n\t\t\tScope: app.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewSecret(ctx, \"publishingApi\", \u0026databricks.SecretArgs{\n\t\t\tKey: pulumi.String(\"publishing_api\"),\n\t\t\tStringValue: pulumi.Any(data.Azurerm_key_vault_secret.Example.Value),\n\t\t\tScope: app.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.SecretScope;\nimport com.pulumi.databricks.SecretAcl;\nimport com.pulumi.databricks.SecretAclArgs;\nimport com.pulumi.databricks.Secret;\nimport com.pulumi.databricks.SecretArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ds = new Group(\"ds\");\n\n var app = new SecretScope(\"app\");\n\n var mySecretAcl = new SecretAcl(\"mySecretAcl\", SecretAclArgs.builder() \n .principal(ds.displayName())\n .permission(\"READ\")\n .scope(app.name())\n .build());\n\n var publishingApi = new Secret(\"publishingApi\", SecretArgs.builder() \n .key(\"publishing_api\")\n .stringValue(data.azurerm_key_vault_secret().example().value())\n .scope(app.name())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ds:\n type: databricks:Group\n app:\n type: databricks:SecretScope\n mySecretAcl:\n type: databricks:SecretAcl\n properties:\n principal: ${ds.displayName}\n permission: READ\n scope: ${app.name}\n publishingApi:\n type: databricks:Secret\n properties:\n key: publishing_api\n # replace it with a secret management solution of your choice :-)\n stringValue: ${data.azurerm_key_vault_secret.example.value}\n scope: ${app.name}\n```\n{{% /example %}}\n{{% /examples %}}\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* End to end workspace management guide.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n* databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.\n* databricks.SecretScope to create [secret scopes](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.\n\n\n## Import\n\nThe resource secret acl can be imported using `scopeName|||principalName` combination. bash\n\n```sh\n $ pulumi import databricks:index/secretAcl:SecretAcl object `scopeName|||principalName`\n```\n\n ", + "description": "Create or overwrite the ACL associated with the given principal (user or group) on the specified databricks_secret_scope. Please consult [Secrets User Guide](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) for more details.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nThis way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst ds = new databricks.Group(\"ds\", {});\nconst app = new databricks.SecretScope(\"app\", {});\nconst mySecretAcl = new databricks.SecretAcl(\"mySecretAcl\", {\n principal: ds.displayName,\n permission: \"READ\",\n scope: app.name,\n});\nconst publishingApi = new databricks.Secret(\"publishingApi\", {\n key: \"publishing_api\",\n stringValue: data.azurerm_key_vault_secret.example.value,\n scope: app.name,\n});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nds = databricks.Group(\"ds\")\napp = databricks.SecretScope(\"app\")\nmy_secret_acl = databricks.SecretAcl(\"mySecretAcl\",\n principal=ds.display_name,\n permission=\"READ\",\n scope=app.name)\npublishing_api = databricks.Secret(\"publishingApi\",\n key=\"publishing_api\",\n string_value=data[\"azurerm_key_vault_secret\"][\"example\"][\"value\"],\n scope=app.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ds = new Databricks.Group(\"ds\");\n\n var app = new Databricks.SecretScope(\"app\");\n\n var mySecretAcl = new Databricks.SecretAcl(\"mySecretAcl\", new()\n {\n Principal = ds.DisplayName,\n Permission = \"READ\",\n Scope = app.Name,\n });\n\n var publishingApi = new Databricks.Secret(\"publishingApi\", new()\n {\n Key = \"publishing_api\",\n StringValue = data.Azurerm_key_vault_secret.Example.Value,\n Scope = app.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tds, err := databricks.NewGroup(ctx, \"ds\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tapp, err := databricks.NewSecretScope(ctx, \"app\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewSecretAcl(ctx, \"mySecretAcl\", \u0026databricks.SecretAclArgs{\n\t\t\tPrincipal: ds.DisplayName,\n\t\t\tPermission: pulumi.String(\"READ\"),\n\t\t\tScope: app.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = databricks.NewSecret(ctx, \"publishingApi\", \u0026databricks.SecretArgs{\n\t\t\tKey: pulumi.String(\"publishing_api\"),\n\t\t\tStringValue: pulumi.Any(data.Azurerm_key_vault_secret.Example.Value),\n\t\t\tScope: app.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.Group;\nimport com.pulumi.databricks.SecretScope;\nimport com.pulumi.databricks.SecretAcl;\nimport com.pulumi.databricks.SecretAclArgs;\nimport com.pulumi.databricks.Secret;\nimport com.pulumi.databricks.SecretArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ds = new Group(\"ds\");\n\n var app = new SecretScope(\"app\");\n\n var mySecretAcl = new SecretAcl(\"mySecretAcl\", SecretAclArgs.builder() \n .principal(ds.displayName())\n .permission(\"READ\")\n .scope(app.name())\n .build());\n\n var publishingApi = new Secret(\"publishingApi\", SecretArgs.builder() \n .key(\"publishing_api\")\n .stringValue(data.azurerm_key_vault_secret().example().value())\n .scope(app.name())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ds:\n type: databricks:Group\n app:\n type: databricks:SecretScope\n mySecretAcl:\n type: databricks:SecretAcl\n properties:\n principal: ${ds.displayName}\n permission: READ\n scope: ${app.name}\n publishingApi:\n type: databricks:Secret\n properties:\n key: publishing_api\n # replace it with a secret management solution of your choice :-)\n stringValue: ${data.azurerm_key_vault_secret.example.value}\n scope: ${app.name}\n```\n{{% /example %}}\n{{% /examples %}}\n## Related Resources\n\nThe following resources are often used in the same context:\n\n* End to end workspace management guide.\n* databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).\n* databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.\n* databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).\n* databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.\n* databricks.SecretScope to create [secret scopes](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.\n\n\n## Import\n\nThe resource secret acl can be imported using `scopeName|||principalName` combination. bash\n\n```sh\n $ pulumi import databricks:index/secretAcl:SecretAcl object `scopeName|||principalName`\n```\n\n ", "properties": { "permission": { "type": "string", @@ -15865,7 +16014,7 @@ }, "principal": { "type": "string", - "description": "name of the principals. It can be `users` for all users or name or `display_name` of databricks_group\n" + "description": "principal's identifier. It can be:\n" }, "scope": { "type": "string", @@ -15885,7 +16034,7 @@ }, "principal": { "type": "string", - "description": "name of the principals. It can be `users` for all users or name or `display_name` of databricks_group\n", + "description": "principal's identifier. It can be:\n", "willReplaceOnChanges": true }, "scope": { @@ -15909,7 +16058,7 @@ }, "principal": { "type": "string", - "description": "name of the principals. It can be `users` for all users or name or `display_name` of databricks_group\n", + "description": "principal's identifier. It can be:\n", "willReplaceOnChanges": true }, "scope": { @@ -16486,6 +16635,9 @@ "createdAt": { "type": "string" }, + "dashboardFiltersEnabled": { + "type": "boolean" + }, "name": { "type": "string" }, @@ -16511,6 +16663,9 @@ "createdAt": { "type": "string" }, + "dashboardFiltersEnabled": { + "type": "boolean" + }, "name": { "type": "string" }, @@ -16534,6 +16689,9 @@ "createdAt": { "type": "string" }, + "dashboardFiltersEnabled": { + "type": "boolean" + }, "name": { "type": "string" }, @@ -17010,13 +17168,16 @@ "type": "string" }, "dataSourceId": { - "type": "string" + "type": "string", + "description": "Data source ID of a SQL warehouse\n" }, "description": { - "type": "string" + "type": "string", + "description": "General description that conveys additional information about this query such as usage notes.\n" }, "name": { - "type": "string" + "type": "string", + "description": "The title of this query that appears in list views, widget headings, and on the query page.\n" }, "parameters": { "type": "array", @@ -17025,13 +17186,16 @@ } }, "parent": { - "type": "string" + "type": "string", + "description": "The identifier of the workspace folder containing the object.\n" }, "query": { - "type": "string" + "type": "string", + "description": "The text of the query to be run.\n" }, "runAsRole": { - "type": "string" + "type": "string", + "description": "Run as role. Possible values are `viewer`, `owner`.\n" }, "schedule": { "$ref": "#/types/databricks:index/SqlQuerySchedule:SqlQuerySchedule", @@ -17059,13 +17223,16 @@ "type": "string" }, "dataSourceId": { - "type": "string" + "type": "string", + "description": "Data source ID of a SQL warehouse\n" }, "description": { - "type": "string" + "type": "string", + "description": "General description that conveys additional information about this query such as usage notes.\n" }, "name": { - "type": "string" + "type": "string", + "description": "The title of this query that appears in list views, widget headings, and on the query page.\n" }, "parameters": { "type": "array", @@ -17075,13 +17242,16 @@ }, "parent": { "type": "string", + "description": "The identifier of the workspace folder containing the object.\n", "willReplaceOnChanges": true }, "query": { - "type": "string" + "type": "string", + "description": "The text of the query to be run.\n" }, "runAsRole": { - "type": "string" + "type": "string", + "description": "Run as role. Possible values are `viewer`, `owner`.\n" }, "schedule": { "$ref": "#/types/databricks:index/SqlQuerySchedule:SqlQuerySchedule", @@ -17108,13 +17278,16 @@ "type": "string" }, "dataSourceId": { - "type": "string" + "type": "string", + "description": "Data source ID of a SQL warehouse\n" }, "description": { - "type": "string" + "type": "string", + "description": "General description that conveys additional information about this query such as usage notes.\n" }, "name": { - "type": "string" + "type": "string", + "description": "The title of this query that appears in list views, widget headings, and on the query page.\n" }, "parameters": { "type": "array", @@ -17124,13 +17297,16 @@ }, "parent": { "type": "string", + "description": "The identifier of the workspace folder containing the object.\n", "willReplaceOnChanges": true }, "query": { - "type": "string" + "type": "string", + "description": "The text of the query to be run.\n" }, "runAsRole": { - "type": "string" + "type": "string", + "description": "Run as role. Possible values are `viewer`, `owner`.\n" }, "schedule": { "$ref": "#/types/databricks:index/SqlQuerySchedule:SqlQuerySchedule", @@ -17678,6 +17854,53 @@ "type": "object" } }, + "databricks:index/systemSchema:SystemSchema": { + "description": "\u003e **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).\n\n\u003e **Notes**\n Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future.\n\nManages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nEnable the system schema `access`\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as databricks from \"@pulumi/databricks\";\n\nconst _this = new databricks.SystemSchema(\"this\", {schema: \"access\"});\n```\n```python\nimport pulumi\nimport pulumi_databricks as databricks\n\nthis = databricks.SystemSchema(\"this\", schema=\"access\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Databricks = Pulumi.Databricks;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new Databricks.SystemSchema(\"this\", new()\n {\n Schema = \"access\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-databricks/sdk/go/databricks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := databricks.NewSystemSchema(ctx, \"this\", \u0026databricks.SystemSchemaArgs{\n\t\t\tSchema: pulumi.String(\"access\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.databricks.SystemSchema;\nimport com.pulumi.databricks.SystemSchemaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new SystemSchema(\"this\", SystemSchemaArgs.builder() \n .schema(\"access\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: databricks:SystemSchema\n properties:\n schema: access\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nThis resource can be imported by the metastore id and schema name bash\n\n```sh\n $ pulumi import databricks:index/systemSchema:SystemSchema this \u003cmetastore_id\u003e|\u003cschema_name\u003e\n```\n\n ", + "properties": { + "metastoreId": { + "type": "string" + }, + "schema": { + "type": "string", + "description": "Full name of the system schema.\n" + }, + "state": { + "type": "string", + "description": "The current state of enablement for the system schema.\n" + } + }, + "required": [ + "metastoreId", + "state" + ], + "inputProperties": { + "schema": { + "type": "string", + "description": "Full name of the system schema.\n" + }, + "state": { + "type": "string", + "description": "The current state of enablement for the system schema.\n" + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering SystemSchema resources.\n", + "properties": { + "metastoreId": { + "type": "string" + }, + "schema": { + "type": "string", + "description": "Full name of the system schema.\n" + }, + "state": { + "type": "string", + "description": "The current state of enablement for the system schema.\n" + } + }, + "type": "object" + } + }, "databricks:index/table:Table": { "properties": { "catalogName": { @@ -17980,7 +18203,7 @@ }, "userName": { "type": "string", - "description": "This is the username of the given user and will be their form of access and identity.\n" + "description": "This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.\n" }, "workspaceAccess": { "type": "boolean" @@ -18048,7 +18271,7 @@ }, "userName": { "type": "string", - "description": "This is the username of the given user and will be their form of access and identity.\n", + "description": "This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.\n", "willReplaceOnChanges": true }, "workspaceAccess": { @@ -18114,7 +18337,7 @@ }, "userName": { "type": "string", - "description": "This is the username of the given user and will be their form of access and identity.\n", + "description": "This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.\n", "willReplaceOnChanges": true }, "workspaceAccess": { @@ -18247,11 +18470,11 @@ }, "storageLocation": { "type": "string", - "description": "Path inside an External Location. Only used for `EXTERNAL` Volumes.\n" + "description": "Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.\n" }, "volumeType": { "type": "string", - "description": "Volume type. `EXTERNAL` or `MANAGED`.\n" + "description": "Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.\n" } }, "required": [ @@ -18286,11 +18509,13 @@ }, "storageLocation": { "type": "string", - "description": "Path inside an External Location. Only used for `EXTERNAL` Volumes.\n" + "description": "Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.\n", + "willReplaceOnChanges": true }, "volumeType": { "type": "string", - "description": "Volume type. `EXTERNAL` or `MANAGED`.\n" + "description": "Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -18325,11 +18550,13 @@ }, "storageLocation": { "type": "string", - "description": "Path inside an External Location. Only used for `EXTERNAL` Volumes.\n" + "description": "Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.\n", + "willReplaceOnChanges": true }, "volumeType": { "type": "string", - "description": "Volume type. `EXTERNAL` or `MANAGED`.\n" + "description": "Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.\n", + "willReplaceOnChanges": true } }, "type": "object" diff --git a/provider/go.mod b/provider/go.mod index 4aec9705..63e93158 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -5,18 +5,18 @@ go 1.21 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e require ( - github.com/databricks/databricks-sdk-go v0.20.0 - github.com/databricks/terraform-provider-databricks v1.27.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 + github.com/databricks/databricks-sdk-go v0.23.0 + github.com/databricks/terraform-provider-databricks v1.28.1 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 ) require ( - cloud.google.com/go v0.110.6 // indirect - cloud.google.com/go/compute v1.23.0 // indirect + cloud.google.com/go v0.110.8 // indirect + cloud.google.com/go/compute v1.23.1 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.1 // indirect - cloud.google.com/go/kms v1.15.0 // indirect - cloud.google.com/go/logging v1.7.0 // indirect + cloud.google.com/go/iam v1.1.2 // indirect + cloud.google.com/go/kms v1.15.2 // indirect + cloud.google.com/go/logging v1.8.1 // indirect cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect dario.cat/mergo v1.0.0 // indirect @@ -36,7 +36,7 @@ require ( github.com/Masterminds/semver/v3 v3.1.1 // indirect github.com/Masterminds/sprig/v3 v3.2.2 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c // indirect github.com/acomagu/bufpipe v1.0.4 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect @@ -77,6 +77,7 @@ require ( github.com/cheggaaa/pb v1.0.29 // indirect github.com/cloudflare/circl v1.3.3 // indirect github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect + github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect github.com/dustin/go-humanize v1.0.1 // indirect @@ -86,8 +87,8 @@ require ( github.com/fatih/color v1.15.0 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect - github.com/go-git/go-billy/v5 v5.4.1 // indirect - github.com/go-git/go-git/v5 v5.8.1 // indirect + github.com/go-git/go-billy/v5 v5.5.0 // indirect + github.com/go-git/go-git/v5 v5.9.0 // indirect github.com/gofrs/uuid v4.3.1+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt/v4 v4.5.0 // indirect @@ -95,13 +96,13 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.4 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/s2a-go v0.1.7 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect github.com/google/uuid v1.3.1 // indirect github.com/google/wire v0.5.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.5 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.1 // indirect github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect @@ -113,7 +114,7 @@ require ( github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.5.1 // indirect + github.com/hashicorp/go-plugin v1.5.2 // indirect github.com/hashicorp/go-retryablehttp v0.7.2 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect @@ -124,9 +125,9 @@ require ( github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.6.0 // indirect - github.com/hashicorp/hc-install v0.6.0 // indirect + github.com/hashicorp/hc-install v0.6.1 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.18.0 // indirect + github.com/hashicorp/hcl/v2 v2.18.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.19.0 // indirect @@ -184,15 +185,16 @@ require ( github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect - github.com/pulumi/pulumi-java/pkg v0.9.6 // indirect + github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect github.com/pulumi/pulumi-yaml v1.2.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.86.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.86.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.89.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.89.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect @@ -213,35 +215,35 @@ require ( github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/ulikunitz/xz v0.5.10 // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect - github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect + github.com/vmihailenco/msgpack/v5 v5.4.0 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect - github.com/zclconf/go-cty v1.14.0 // indirect + github.com/zclconf/go-cty v1.14.1 // indirect go.opencensus.io v0.24.0 // indirect go.uber.org/atomic v1.10.0 // indirect gocloud.dev v0.29.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.13.0 // indirect - golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect - golang.org/x/mod v0.12.0 // indirect - golang.org/x/net v0.15.0 // indirect - golang.org/x/oauth2 v0.12.0 // indirect - golang.org/x/sync v0.3.0 // indirect - golang.org/x/sys v0.12.0 // indirect - golang.org/x/term v0.12.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/oauth2 v0.13.0 // indirect + golang.org/x/sync v0.4.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.13.0 // indirect + golang.org/x/tools v0.14.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.140.0 // indirect + google.golang.org/api v0.147.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832 // indirect - google.golang.org/grpc v1.58.0 // indirect + google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a // indirect + google.golang.org/grpc v1.58.3 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 5d727f0c..f02ce6be 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -41,8 +41,8 @@ cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFO cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.109.0/go.mod h1:2sYycXt75t/CSB5R9M2wPU1tJmire7AQZTPtITcGBVE= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go v0.110.6 h1:8uYAkj3YHTP/1iwReuHPxLSbdcyc+dSBbzFMrVwDR6Q= -cloud.google.com/go v0.110.6/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.8 h1:tyNdfIxjzaWctIiLYOTalaLKZ17SI44SKFW26QbOhME= +cloud.google.com/go v0.110.8/go.mod h1:Iz8AkXJf1qmxC3Oxoep8R1T36w8B92yU29PcBhHO5fk= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= @@ -179,8 +179,8 @@ cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63 cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= -cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY= -cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.1 h1:V97tBoDaZHb6leicZ1G6DLK2BAaZLJ/7+9BB/En3hR0= +cloud.google.com/go/compute v1.23.1/go.mod h1:CqB3xpmPKKt3OJpW2ndFIXnA9A4xAy/F3Xp1ixncW78= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= @@ -323,8 +323,8 @@ cloud.google.com/go/iam v0.10.0/go.mod h1:nXAECrMt2qHpF6RZUZseteD6QyanL68reN4OXP cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= -cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= -cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iam v1.1.2 h1:gacbrBdWcoVmGLozRuStX45YKvJtzIjJdAolzUs1sm4= +cloud.google.com/go/iam v1.1.2/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= @@ -344,8 +344,8 @@ cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4 cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= -cloud.google.com/go/kms v1.15.0 h1:xYl5WEaSekKYN5gGRyhjvZKM22GVBBCzegGNVPy+aIs= -cloud.google.com/go/kms v1.15.0/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= +cloud.google.com/go/kms v1.15.2 h1:lh6qra6oC4AyWe5fUUUBe/S27k12OHAleOOOw6KakdE= +cloud.google.com/go/kms v1.15.2/go.mod h1:3hopT4+7ooWRCjc2DxgnpESFxhIraaI2IpAVUEhbT/w= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= @@ -355,8 +355,9 @@ cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaML cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= -cloud.google.com/go/logging v1.7.0 h1:CJYxlNNNNAMkHp9em/YEXcfJg+rPDg7YfwoRpMU+t5I= cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= +cloud.google.com/go/logging v1.8.1 h1:26skQWPeYhvIasWKm48+Eq7oUqdcdbwsCVwz5Ys0FvU= +cloud.google.com/go/logging v1.8.1/go.mod h1:TJjR+SimHwuC8MZ9cjByQulAMgni+RkXeI3wwctHJEI= cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= cloud.google.com/go/longrunning v0.4.0/go.mod h1:eF3Qsw58iX/bkKtVjMTYpH0LRjQ2goDkjkNQTlzq/ZM= @@ -759,8 +760,8 @@ github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63n github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c h1:kMFnB0vCcX7IL/m9Y5LO+KQYv+t1CQOiFe6+SV2J7bE= +github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -1149,14 +1150,16 @@ github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= +github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= -github.com/databricks/databricks-sdk-go v0.20.0 h1:KyVQkvyFYgIlTBjQbazAtW/Y5tZaHy2pF5DRpC35s0s= -github.com/databricks/databricks-sdk-go v0.20.0/go.mod h1:COiklTN3IdieazXcs4TnMou5GQFwIM7uhMGrz7nEAAk= -github.com/databricks/terraform-provider-databricks v1.27.0 h1:XWscImzq4y3b/NgSBPCG7LzqbpNPC8dgXXjId8f8LqI= -github.com/databricks/terraform-provider-databricks v1.27.0/go.mod h1:NBVipn/lRiFh9CB6Y72EU8o8EUuXNUfogT2dnzi1OXs= +github.com/databricks/databricks-sdk-go v0.23.0 h1:rdLMA7cDUPJiCSMyuUSufzDDmugqyp79SNiY/vc7kMI= +github.com/databricks/databricks-sdk-go v0.23.0/go.mod h1:a6rErRNh5bz+IJbO07nwW70iGyvtWidy1p/S5thepXI= +github.com/databricks/terraform-provider-databricks v1.28.1 h1:GeEsWWmCqc1EYsoLUnyraHMbUUQ14b7WibjcCYoFrzo= +github.com/databricks/terraform-provider-databricks v1.28.1/go.mod h1:7J8yGpys62B4HpPdUsOwR+/ic2nAA5+mkipgqP2rD4E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -1210,8 +1213,9 @@ github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaB github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819 h1:RIB4cRk+lBqKK3Oy0r2gRX4ui7tuhiZq2SuTtTCi0/0= github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= @@ -1294,12 +1298,14 @@ github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmn github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= +github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= +github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= -github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A= github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo= +github.com/go-git/go-git/v5 v5.9.0 h1:cD9SFA7sHVRdJ7AYck1ZaAa/yeuBvGPxwXDL8cxrObY= +github.com/go-git/go-git/v5 v5.9.0/go.mod h1:RKIqga24sWdMGZF+1Ekv9kylsDz6LzdTSI2s/OsZWE0= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -1510,8 +1516,9 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= @@ -1571,8 +1578,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/enterprise-certificate-proxy v0.2.5 h1:UR4rDjcgpgEnqpIEvkiqTYKBCKLNmlge2eVjoZfySzM= -github.com/googleapis/enterprise-certificate-proxy v0.2.5/go.mod h1:RxW0N9901Cko1VOCW3SXCpWP+mlIEkk2tP7jnHy9a3w= +github.com/googleapis/enterprise-certificate-proxy v0.3.1 h1:SBWmZhjUDRorQxrN0nwzf+AHBxnbFjViHQS4P0yVpmQ= +github.com/googleapis/enterprise-certificate-proxy v0.3.1/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -1678,8 +1685,9 @@ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9 github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-plugin v1.4.4/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= -github.com/hashicorp/go-plugin v1.5.1 h1:oGm7cWBaYIp3lJpx1RUEfLWophprE2EV/KUeqBYo+6k= github.com/hashicorp/go-plugin v1.5.1/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= +github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= +github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= @@ -1722,14 +1730,16 @@ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/golang-lru v0.6.0 h1:uL2shRDx7RTrOrTCUZEGP/wJUFiUI8QT6E7z5o8jga4= github.com/hashicorp/golang-lru v0.6.0/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hc-install v0.6.0 h1:fDHnU7JNFNSQebVKYhHZ0va1bC6SrPQ8fpebsvNr2w4= github.com/hashicorp/hc-install v0.6.0/go.mod h1:10I912u3nntx9Umo1VAeYPUUuehk0aRQJYpMwbX5wQA= +github.com/hashicorp/hc-install v0.6.1 h1:IGxShH7AVhPaSuSJpKtVi/EFORNjO+OYVJJrAtGG2mY= +github.com/hashicorp/hc-install v0.6.1/go.mod h1:0fW3jpg+wraYSnFDJ6Rlie3RvLf1bIqVIkzoon4KoVE= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= -github.com/hashicorp/hcl/v2 v2.18.0 h1:wYnG7Lt31t2zYkcquwgKo6MWXzRUDIeIVU5naZwHLl8= github.com/hashicorp/hcl/v2 v2.18.0/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= +github.com/hashicorp/hcl/v2 v2.18.1 h1:6nxnOJFku1EuSawSD81fuviYUV8DxFr3fp2dUi3ZYSo= +github.com/hashicorp/hcl/v2 v2.18.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -2180,6 +2190,8 @@ github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeR github.com/onsi/gomega v1.21.1/go.mod h1:iYAIXgPSaDHak0LCMA+AWBpIKBr8WZicMxnE8luStNc= github.com/onsi/gomega v1.22.1/go.mod h1:x6n7VNe4hw0vkyYUM4mjIXx3JbLiPaBPNgB7PRQ1tuM= github.com/onsi/gomega v1.23.0/go.mod h1:Z/NWtiqwBrwUt4/2loMmHL63EDLnYHmVbuBpDr2vQAg= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= @@ -2337,20 +2349,22 @@ github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/ github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/prometheus v0.42.0/go.mod h1:Pfqb/MLnnR2KK+0vchiaH39jXxvLMBk+3lnIGP4N7Vk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-java/pkg v0.9.6 h1:UJrOAsYHRchwb4QlfI9Q224qg1TOI3rIsI6DDTUnn30= -github.com/pulumi/pulumi-java/pkg v0.9.6/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= +github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 h1:ryRfPhwm78Ni+U1uaAsITAI6dD2tLtb3suhJXGWb9cM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0/go.mod h1:k6iVhOWqTkMWxMdd7njoSkPXBJC/T2Rs44Iif3yDgXw= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 h1:oZNwz2YupCstNNwxCcUaEBV6iL6wikiAqjas9ufR4yE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0/go.mod h1:8UuPmsuaGgUDUSsRKhoSf5J6SlfjHioKO+XeEWfXQfE= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= -github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= -github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= +github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -2371,8 +2385,9 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -2543,8 +2558,9 @@ github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6Ac github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= -github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/msgpack/v5 v5.4.0 h1:hRM0digJwyR6vll33NNAwCFguy5JuBD6jxDmQP3l608= +github.com/vmihailenco/msgpack/v5 v5.4.0/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI= @@ -2585,8 +2601,9 @@ github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= -github.com/zclconf/go-cty v1.14.0 h1:/Xrd39K7DXbHzlisFP9c4pHao4yyf+/Ug9LEz+Y/yhc= github.com/zclconf/go-cty v1.14.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA= +github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= @@ -2774,8 +2791,9 @@ golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58 golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= -golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2793,8 +2811,8 @@ golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMk golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= golang.org/x/exp v0.0.0-20230108222341-4b8118a2686a/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= golang.org/x/exp v0.0.0-20230124195608-d38c7dcee874/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= @@ -2839,8 +2857,9 @@ golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2944,8 +2963,8 @@ golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= -golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2981,8 +3000,8 @@ golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= -golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= -golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= +golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= +golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -3001,8 +3020,8 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -3169,8 +3188,9 @@ golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3186,8 +3206,9 @@ golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= -golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3317,8 +3338,8 @@ golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= -golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ= -golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -3404,8 +3425,8 @@ google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/ google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= -google.golang.org/api v0.140.0 h1:CaXNdYOH5oQQI7l6iKTHHiMTdxZca4/02hRg2U8c2hM= -google.golang.org/api v0.140.0/go.mod h1:aGbCiFgtwb2P6badchFbSBUurV6oR5d50Af4iNJtDdI= +google.golang.org/api v0.147.0 h1:Can3FaQo9LlVqxJCodNmeZW/ib3/qKAY3rFeXiHo5gc= +google.golang.org/api v0.147.0/go.mod h1:pQ/9j83DcmPd/5C9e2nFOdjjNkDZ1G+zkbK2uvdkJMs= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -3571,16 +3592,16 @@ google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOl google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= -google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 h1:L6iMMGrtzgHsWofoFcihmDEMYeDR9KN/ThbPWGrh++g= -google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= +google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97 h1:SeZZZx0cP0fqUyA+oRzP9k7cSwJlvDFiROO72uwD6i0= +google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97/go.mod h1:t1VqOqqvce95G3hIDCT5FeO3YUc6Q4Oe24L/+rNMxRk= google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 h1:nIgk/EEq3/YlnmVVXVnm14rC2oxgs1o0ong4sD/rd44= -google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q= +google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 h1:W18sezcAYs+3tDZX4F80yctqa12jcP1PUS2gQu1zTPU= +google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97/go.mod h1:iargEX0SFPm3xcfMI0d1domjg0ZF4Aa0p2awqyxhvF0= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832 h1:o4LtQxebKIJ4vkzyhtD2rfUNZ20Zf0ik5YVP5E7G7VE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a h1:a2MQQVoTo96JC9PMGtGBymLp7+/RzpFc2yX/9WfFg1c= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:4cYg8o5yUbm77w8ZX00LhMVNl/YVBFJRYWDc0uYWMs0= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= @@ -3634,8 +3655,8 @@ google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5v google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= -google.golang.org/grpc v1.58.0 h1:32JY8YpPMSR45K+c3o6b8VL73V+rR8k+DeMIr4vRH8o= -google.golang.org/grpc v1.58.0/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= +google.golang.org/grpc v1.58.3 h1:BjnpXut1btbtgN/6sp+brB2Kbm2LjNXnidYujAVbSoQ= +google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= diff --git a/sdk/dotnet/Cluster.cs b/sdk/dotnet/Cluster.cs index 3e31800e..52fbb8ae 100644 --- a/sdk/dotnet/Cluster.cs +++ b/sdk/dotnet/Cluster.cs @@ -309,7 +309,6 @@ public sealed class ClusterArgs : global::Pulumi.ResourceArgs [Input("clusterMountInfos")] private InputList? _clusterMountInfos; - [Obsolete(@"cluster_mount_info block is deprecated due the Clusters API changes.")] public InputList ClusterMountInfos { get => _clusterMountInfos ?? (_clusterMountInfos = new InputList()); @@ -555,7 +554,6 @@ public sealed class ClusterState : global::Pulumi.ResourceArgs [Input("clusterMountInfos")] private InputList? _clusterMountInfos; - [Obsolete(@"cluster_mount_info block is deprecated due the Clusters API changes.")] public InputList ClusterMountInfos { get => _clusterMountInfos ?? (_clusterMountInfos = new InputList()); diff --git a/sdk/dotnet/Grants.cs b/sdk/dotnet/Grants.cs index 34b6c58d..bedf72c8 100644 --- a/sdk/dotnet/Grants.cs +++ b/sdk/dotnet/Grants.cs @@ -33,6 +33,9 @@ public partial class Grants : global::Pulumi.CustomResource [Output("metastore")] public Output Metastore { get; private set; } = null!; + [Output("model")] + public Output Model { get; private set; } = null!; + [Output("schema")] public Output Schema { get; private set; } = null!; @@ -123,6 +126,9 @@ public InputList GrantDetails [Input("metastore")] public Input? Metastore { get; set; } + [Input("model")] + public Input? Model { get; set; } + [Input("schema")] public Input? Schema { get; set; } @@ -175,6 +181,9 @@ public InputList GrantDetails [Input("metastore")] public Input? Metastore { get; set; } + [Input("model")] + public Input? Model { get; set; } + [Input("schema")] public Input? Schema { get; set; } diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsQueue.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsQueue.cs index 9724a9b7..8923e483 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsQueue.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsQueue.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsQueueArgs : global::Pulumi.InvokeArgs { + [Input("enabled", required: true)] + public bool Enabled { get; set; } + public GetJobJobSettingsSettingsQueueArgs() { } diff --git a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsQueueArgs.cs b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsQueueArgs.cs index 7bc635ac..0fa56665 100644 --- a/sdk/dotnet/Inputs/GetJobJobSettingsSettingsQueueArgs.cs +++ b/sdk/dotnet/Inputs/GetJobJobSettingsSettingsQueueArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class GetJobJobSettingsSettingsQueueInputArgs : global::Pulumi.ResourceArgs { + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + public GetJobJobSettingsSettingsQueueInputArgs() { } diff --git a/sdk/dotnet/Inputs/JobQueueArgs.cs b/sdk/dotnet/Inputs/JobQueueArgs.cs index b9242fc9..9f405c65 100644 --- a/sdk/dotnet/Inputs/JobQueueArgs.cs +++ b/sdk/dotnet/Inputs/JobQueueArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class JobQueueArgs : global::Pulumi.ResourceArgs { + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + public JobQueueArgs() { } diff --git a/sdk/dotnet/Inputs/JobQueueGetArgs.cs b/sdk/dotnet/Inputs/JobQueueGetArgs.cs index ffd3db43..952c8625 100644 --- a/sdk/dotnet/Inputs/JobQueueGetArgs.cs +++ b/sdk/dotnet/Inputs/JobQueueGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class JobQueueGetArgs : global::Pulumi.ResourceArgs { + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + public JobQueueGetArgs() { } diff --git a/sdk/dotnet/Inputs/JobRunAsArgs.cs b/sdk/dotnet/Inputs/JobRunAsArgs.cs index 5f106872..a2ae2040 100644 --- a/sdk/dotnet/Inputs/JobRunAsArgs.cs +++ b/sdk/dotnet/Inputs/JobRunAsArgs.cs @@ -15,7 +15,7 @@ public sealed class JobRunAsArgs : global::Pulumi.ResourceArgs /// /// The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. /// - /// Example + /// Example: /// /// ```csharp /// using System.Collections.Generic; diff --git a/sdk/dotnet/Inputs/JobRunAsGetArgs.cs b/sdk/dotnet/Inputs/JobRunAsGetArgs.cs index d0ca54d5..0a1c33c7 100644 --- a/sdk/dotnet/Inputs/JobRunAsGetArgs.cs +++ b/sdk/dotnet/Inputs/JobRunAsGetArgs.cs @@ -15,7 +15,7 @@ public sealed class JobRunAsGetArgs : global::Pulumi.ResourceArgs /// /// The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. /// - /// Example + /// Example: /// /// ```csharp /// using System.Collections.Generic; diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedModelArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedModelArgs.cs index ecd0e21a..dc4a2413 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigServedModelArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigServedModelArgs.cs @@ -60,6 +60,12 @@ public InputMap EnvironmentVars [Input("workloadSize", required: true)] public Input WorkloadSize { get; set; } = null!; + /// + /// The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + /// + [Input("workloadType")] + public Input? WorkloadType { get; set; } + public ModelServingConfigServedModelArgs() { } diff --git a/sdk/dotnet/Inputs/ModelServingConfigServedModelGetArgs.cs b/sdk/dotnet/Inputs/ModelServingConfigServedModelGetArgs.cs index ec66cddd..0ea066d5 100644 --- a/sdk/dotnet/Inputs/ModelServingConfigServedModelGetArgs.cs +++ b/sdk/dotnet/Inputs/ModelServingConfigServedModelGetArgs.cs @@ -60,6 +60,12 @@ public InputMap EnvironmentVars [Input("workloadSize", required: true)] public Input WorkloadSize { get; set; } = null!; + /// + /// The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + /// + [Input("workloadType")] + public Input? WorkloadType { get; set; } + public ModelServingConfigServedModelGetArgs() { } diff --git a/sdk/dotnet/Inputs/SqlAlertOptionsArgs.cs b/sdk/dotnet/Inputs/SqlAlertOptionsArgs.cs index 4e224c8f..c65319bc 100644 --- a/sdk/dotnet/Inputs/SqlAlertOptionsArgs.cs +++ b/sdk/dotnet/Inputs/SqlAlertOptionsArgs.cs @@ -30,6 +30,12 @@ public sealed class SqlAlertOptionsArgs : global::Pulumi.ResourceArgs [Input("customSubject")] public Input? CustomSubject { get; set; } + /// + /// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + /// + [Input("emptyResultState")] + public Input? EmptyResultState { get; set; } + /// /// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. /// diff --git a/sdk/dotnet/Inputs/SqlAlertOptionsGetArgs.cs b/sdk/dotnet/Inputs/SqlAlertOptionsGetArgs.cs index 1dffde4b..0e96af9d 100644 --- a/sdk/dotnet/Inputs/SqlAlertOptionsGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlAlertOptionsGetArgs.cs @@ -30,6 +30,12 @@ public sealed class SqlAlertOptionsGetArgs : global::Pulumi.ResourceArgs [Input("customSubject")] public Input? CustomSubject { get; set; } + /// + /// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + /// + [Input("emptyResultState")] + public Input? EmptyResultState { get; set; } + /// /// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. /// diff --git a/sdk/dotnet/Inputs/SqlQueryParameterArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterArgs.cs index e46f3399..acf072b1 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterArgs.cs @@ -33,18 +33,30 @@ public sealed class SqlQueryParameterArgs : global::Pulumi.ResourceArgs [Input("enum")] public Input? Enum { get; set; } + /// + /// The literal parameter marker that appears between double curly braces in the query text. + /// Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + /// + /// For `text`, `number`, `date`, `datetime`, `datetimesec` block + /// [Input("name", required: true)] public Input Name { get; set; } = null!; [Input("number")] public Input? Number { get; set; } + /// + /// The text of the query to be run. + /// [Input("query")] public Input? Query { get; set; } [Input("text")] public Input? Text { get; set; } + /// + /// The text displayed in a parameter picking widget. + /// [Input("title")] public Input? Title { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDateArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDateArgs.cs index 46733561..b8731bd5 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDateArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDateArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterDateArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDateGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDateGetArgs.cs index 04a57074..3ab47435 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDateGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDateGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterDateGetArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDateRangeArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDateRangeArgs.cs index 26274d27..68bb446d 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDateRangeArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDateRangeArgs.cs @@ -15,6 +15,9 @@ public sealed class SqlQueryParameterDateRangeArgs : global::Pulumi.ResourceArgs [Input("range")] public Input? Range { get; set; } + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDateRangeGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDateRangeGetArgs.cs index f25bbfc0..999bba5d 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDateRangeGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDateRangeGetArgs.cs @@ -15,6 +15,9 @@ public sealed class SqlQueryParameterDateRangeGetArgs : global::Pulumi.ResourceA [Input("range")] public Input? Range { get; set; } + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDatetimeArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDatetimeArgs.cs index a9a198cc..73179d23 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDatetimeArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDatetimeArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterDatetimeArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDatetimeGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDatetimeGetArgs.cs index 0b1aee9b..f253fce5 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDatetimeGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDatetimeGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterDatetimeGetArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDatetimeRangeArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDatetimeRangeArgs.cs index 9c640a8e..17049b5b 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDatetimeRangeArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDatetimeRangeArgs.cs @@ -15,6 +15,9 @@ public sealed class SqlQueryParameterDatetimeRangeArgs : global::Pulumi.Resource [Input("range")] public Input? Range { get; set; } + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDatetimeRangeGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDatetimeRangeGetArgs.cs index 734d3315..5e519a56 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDatetimeRangeGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDatetimeRangeGetArgs.cs @@ -15,6 +15,9 @@ public sealed class SqlQueryParameterDatetimeRangeGetArgs : global::Pulumi.Resou [Input("range")] public Input? Range { get; set; } + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecArgs.cs index 463f4cae..1581f97c 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterDatetimesecArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecGetArgs.cs index d20bc34d..a797a623 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterDatetimesecGetArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecRangeArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecRangeArgs.cs index 3893daf1..b9664899 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecRangeArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecRangeArgs.cs @@ -15,6 +15,9 @@ public sealed class SqlQueryParameterDatetimesecRangeArgs : global::Pulumi.Resou [Input("range")] public Input? Range { get; set; } + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecRangeGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecRangeGetArgs.cs index 265f1ccc..b45d7335 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecRangeGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterDatetimesecRangeGetArgs.cs @@ -15,6 +15,9 @@ public sealed class SqlQueryParameterDatetimesecRangeGetArgs : global::Pulumi.Re [Input("range")] public Input? Range { get; set; } + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterEnumArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterEnumArgs.cs index eb1ceda3..ba3068ea 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterEnumArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterEnumArgs.cs @@ -23,6 +23,9 @@ public InputList Options set => _options = value; } + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterEnumGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterEnumGetArgs.cs index 5c655823..36c314dc 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterEnumGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterEnumGetArgs.cs @@ -23,6 +23,9 @@ public InputList Options set => _options = value; } + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterGetArgs.cs index dba78293..a9264499 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterGetArgs.cs @@ -33,18 +33,30 @@ public sealed class SqlQueryParameterGetArgs : global::Pulumi.ResourceArgs [Input("enum")] public Input? Enum { get; set; } + /// + /// The literal parameter marker that appears between double curly braces in the query text. + /// Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + /// + /// For `text`, `number`, `date`, `datetime`, `datetimesec` block + /// [Input("name", required: true)] public Input Name { get; set; } = null!; [Input("number")] public Input? Number { get; set; } + /// + /// The text of the query to be run. + /// [Input("query")] public Input? Query { get; set; } [Input("text")] public Input? Text { get; set; } + /// + /// The text displayed in a parameter picking widget. + /// [Input("title")] public Input? Title { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterNumberArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterNumberArgs.cs index 1f9231b5..ea1530a2 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterNumberArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterNumberArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterNumberArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterNumberGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterNumberGetArgs.cs index 8f2ac5e9..bbf9a0ba 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterNumberGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterNumberGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterNumberGetArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterQueryArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterQueryArgs.cs index 3bc22dfc..e95dd836 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterQueryArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterQueryArgs.cs @@ -18,6 +18,9 @@ public sealed class SqlQueryParameterQueryArgs : global::Pulumi.ResourceArgs [Input("queryId", required: true)] public Input QueryId { get; set; } = null!; + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterQueryGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterQueryGetArgs.cs index 6322d46e..8ab11720 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterQueryGetArgs.cs @@ -18,6 +18,9 @@ public sealed class SqlQueryParameterQueryGetArgs : global::Pulumi.ResourceArgs [Input("queryId", required: true)] public Input QueryId { get; set; } = null!; + /// + /// The default value for this parameter. + /// [Input("value")] public Input? Value { get; set; } diff --git a/sdk/dotnet/Inputs/SqlQueryParameterTextArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterTextArgs.cs index a169af4d..1d8150c2 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterTextArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterTextArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterTextArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SqlQueryParameterTextGetArgs.cs b/sdk/dotnet/Inputs/SqlQueryParameterTextGetArgs.cs index f0365d86..15db40c2 100644 --- a/sdk/dotnet/Inputs/SqlQueryParameterTextGetArgs.cs +++ b/sdk/dotnet/Inputs/SqlQueryParameterTextGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs public sealed class SqlQueryParameterTextGetArgs : global::Pulumi.ResourceArgs { + /// + /// The default value for this parameter. + /// [Input("value", required: true)] public Input Value { get; set; } = null!; diff --git a/sdk/dotnet/MlflowExperiment.cs b/sdk/dotnet/MlflowExperiment.cs index 77389165..f5889b4a 100644 --- a/sdk/dotnet/MlflowExperiment.cs +++ b/sdk/dotnet/MlflowExperiment.cs @@ -40,9 +40,10 @@ namespace Pulumi.Databricks /// /// The following resources are often used in the same context: /// + /// * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. /// * End to end workspace management guide. /// * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - /// * databricks.MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + /// * databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. /// * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). /// * databricks.Notebook data to export a notebook from Databricks Workspace. /// * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/dotnet/MlflowModel.cs b/sdk/dotnet/MlflowModel.cs index 766bb975..374b6f60 100644 --- a/sdk/dotnet/MlflowModel.cs +++ b/sdk/dotnet/MlflowModel.cs @@ -12,6 +12,8 @@ namespace Pulumi.Databricks /// /// This resource allows you to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. /// + /// **Note** This documentation covers the Workspace Model Registry. Databricks recommends using Models in Unity Catalog. Models in Unity Catalog provides centralized model governance, cross-workspace access, lineage, and deployment. + /// /// ## Example Usage /// /// ```csharp @@ -50,6 +52,7 @@ namespace Pulumi.Databricks /// /// The following resources are often used in the same context: /// + /// * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. /// * End to end workspace management guide. /// * databricks.ModelServing to serve this model on a Databricks serving endpoint. /// * databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). diff --git a/sdk/dotnet/ModelServing.cs b/sdk/dotnet/ModelServing.cs index df7d6add..7b4332f3 100644 --- a/sdk/dotnet/ModelServing.cs +++ b/sdk/dotnet/ModelServing.cs @@ -74,9 +74,10 @@ namespace Pulumi.Databricks /// /// The following resources are often used in the same context: /// + /// * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. /// * End to end workspace management guide. /// * databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). - /// * databricks.MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + /// * databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. /// * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). /// * databricks.Notebook data to export a notebook from Databricks Workspace. /// * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsQueueResult.cs b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsQueueResult.cs index 6c0f6434..71ce4fd5 100644 --- a/sdk/dotnet/Outputs/GetJobJobSettingsSettingsQueueResult.cs +++ b/sdk/dotnet/Outputs/GetJobJobSettingsSettingsQueueResult.cs @@ -13,9 +13,12 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class GetJobJobSettingsSettingsQueueResult { + public readonly bool Enabled; + [OutputConstructor] - private GetJobJobSettingsSettingsQueueResult() + private GetJobJobSettingsSettingsQueueResult(bool enabled) { + Enabled = enabled; } } } diff --git a/sdk/dotnet/Outputs/JobQueue.cs b/sdk/dotnet/Outputs/JobQueue.cs index 9295711e..4d6ef8da 100644 --- a/sdk/dotnet/Outputs/JobQueue.cs +++ b/sdk/dotnet/Outputs/JobQueue.cs @@ -13,9 +13,12 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class JobQueue { + public readonly bool Enabled; + [OutputConstructor] - private JobQueue() + private JobQueue(bool enabled) { + Enabled = enabled; } } } diff --git a/sdk/dotnet/Outputs/JobRunAs.cs b/sdk/dotnet/Outputs/JobRunAs.cs index 23f99830..43b1bba0 100644 --- a/sdk/dotnet/Outputs/JobRunAs.cs +++ b/sdk/dotnet/Outputs/JobRunAs.cs @@ -16,7 +16,7 @@ public sealed class JobRunAs /// /// The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. /// - /// Example + /// Example: /// /// ```csharp /// using System.Collections.Generic; diff --git a/sdk/dotnet/Outputs/ModelServingConfigServedModel.cs b/sdk/dotnet/Outputs/ModelServingConfigServedModel.cs index 572dad57..9678d379 100644 --- a/sdk/dotnet/Outputs/ModelServingConfigServedModel.cs +++ b/sdk/dotnet/Outputs/ModelServingConfigServedModel.cs @@ -41,6 +41,10 @@ public sealed class ModelServingConfigServedModel /// The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 provisioned concurrency). /// public readonly string WorkloadSize; + /// + /// The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + /// + public readonly string? WorkloadType; [OutputConstructor] private ModelServingConfigServedModel( @@ -56,7 +60,9 @@ private ModelServingConfigServedModel( bool? scaleToZeroEnabled, - string workloadSize) + string workloadSize, + + string? workloadType) { EnvironmentVars = environmentVars; InstanceProfileArn = instanceProfileArn; @@ -65,6 +71,7 @@ private ModelServingConfigServedModel( Name = name; ScaleToZeroEnabled = scaleToZeroEnabled; WorkloadSize = workloadSize; + WorkloadType = workloadType; } } } diff --git a/sdk/dotnet/Outputs/SqlAlertOptions.cs b/sdk/dotnet/Outputs/SqlAlertOptions.cs index 812ae828..def1b313 100644 --- a/sdk/dotnet/Outputs/SqlAlertOptions.cs +++ b/sdk/dotnet/Outputs/SqlAlertOptions.cs @@ -26,6 +26,10 @@ public sealed class SqlAlertOptions /// public readonly string? CustomSubject; /// + /// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + /// + public readonly string? EmptyResultState; + /// /// Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. /// public readonly bool? Muted; @@ -46,6 +50,8 @@ private SqlAlertOptions( string? customSubject, + string? emptyResultState, + bool? muted, string op, @@ -55,6 +61,7 @@ private SqlAlertOptions( Column = column; CustomBody = customBody; CustomSubject = customSubject; + EmptyResultState = emptyResultState; Muted = muted; Op = op; Value = value; diff --git a/sdk/dotnet/Outputs/SqlQueryParameter.cs b/sdk/dotnet/Outputs/SqlQueryParameter.cs index 2ac7c59f..9068ce85 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameter.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameter.cs @@ -20,10 +20,22 @@ public sealed class SqlQueryParameter public readonly Outputs.SqlQueryParameterDatetimesec? Datetimesec; public readonly Outputs.SqlQueryParameterDatetimesecRange? DatetimesecRange; public readonly Outputs.SqlQueryParameterEnum? Enum; + /// + /// The literal parameter marker that appears between double curly braces in the query text. + /// Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + /// + /// For `text`, `number`, `date`, `datetime`, `datetimesec` block + /// public readonly string Name; public readonly Outputs.SqlQueryParameterNumber? Number; + /// + /// The text of the query to be run. + /// public readonly Outputs.SqlQueryParameterQuery? Query; public readonly Outputs.SqlQueryParameterText? Text; + /// + /// The text displayed in a parameter picking widget. + /// public readonly string? Title; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/SqlQueryParameterDate.cs b/sdk/dotnet/Outputs/SqlQueryParameterDate.cs index 888536d2..2d9f6b01 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterDate.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterDate.cs @@ -13,6 +13,9 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class SqlQueryParameterDate { + /// + /// The default value for this parameter. + /// public readonly string Value; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/SqlQueryParameterDateRange.cs b/sdk/dotnet/Outputs/SqlQueryParameterDateRange.cs index 2cea29dd..92e457ee 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterDateRange.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterDateRange.cs @@ -14,6 +14,9 @@ namespace Pulumi.Databricks.Outputs public sealed class SqlQueryParameterDateRange { public readonly Outputs.SqlQueryParameterDateRangeRange? Range; + /// + /// The default value for this parameter. + /// public readonly string? Value; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/SqlQueryParameterDatetime.cs b/sdk/dotnet/Outputs/SqlQueryParameterDatetime.cs index 14a00aa4..6caaef8c 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterDatetime.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterDatetime.cs @@ -13,6 +13,9 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class SqlQueryParameterDatetime { + /// + /// The default value for this parameter. + /// public readonly string Value; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/SqlQueryParameterDatetimeRange.cs b/sdk/dotnet/Outputs/SqlQueryParameterDatetimeRange.cs index f9725b0d..eb483d97 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterDatetimeRange.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterDatetimeRange.cs @@ -14,6 +14,9 @@ namespace Pulumi.Databricks.Outputs public sealed class SqlQueryParameterDatetimeRange { public readonly Outputs.SqlQueryParameterDatetimeRangeRange? Range; + /// + /// The default value for this parameter. + /// public readonly string? Value; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/SqlQueryParameterDatetimesec.cs b/sdk/dotnet/Outputs/SqlQueryParameterDatetimesec.cs index d1f2a994..4c661944 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterDatetimesec.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterDatetimesec.cs @@ -13,6 +13,9 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class SqlQueryParameterDatetimesec { + /// + /// The default value for this parameter. + /// public readonly string Value; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/SqlQueryParameterDatetimesecRange.cs b/sdk/dotnet/Outputs/SqlQueryParameterDatetimesecRange.cs index 9757e9f6..4e7fd2b7 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterDatetimesecRange.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterDatetimesecRange.cs @@ -14,6 +14,9 @@ namespace Pulumi.Databricks.Outputs public sealed class SqlQueryParameterDatetimesecRange { public readonly Outputs.SqlQueryParameterDatetimesecRangeRange? Range; + /// + /// The default value for this parameter. + /// public readonly string? Value; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/SqlQueryParameterEnum.cs b/sdk/dotnet/Outputs/SqlQueryParameterEnum.cs index ed2c1880..898d75e2 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterEnum.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterEnum.cs @@ -15,6 +15,9 @@ public sealed class SqlQueryParameterEnum { public readonly Outputs.SqlQueryParameterEnumMultiple? Multiple; public readonly ImmutableArray Options; + /// + /// The default value for this parameter. + /// public readonly string? Value; public readonly ImmutableArray Values; diff --git a/sdk/dotnet/Outputs/SqlQueryParameterNumber.cs b/sdk/dotnet/Outputs/SqlQueryParameterNumber.cs index e9ce5818..fdf841cd 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterNumber.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterNumber.cs @@ -13,6 +13,9 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class SqlQueryParameterNumber { + /// + /// The default value for this parameter. + /// public readonly double Value; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/SqlQueryParameterQuery.cs b/sdk/dotnet/Outputs/SqlQueryParameterQuery.cs index fdd48500..79c37b4d 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterQuery.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterQuery.cs @@ -15,6 +15,9 @@ public sealed class SqlQueryParameterQuery { public readonly Outputs.SqlQueryParameterQueryMultiple? Multiple; public readonly string QueryId; + /// + /// The default value for this parameter. + /// public readonly string? Value; public readonly ImmutableArray Values; diff --git a/sdk/dotnet/Outputs/SqlQueryParameterText.cs b/sdk/dotnet/Outputs/SqlQueryParameterText.cs index 45fbb2a8..5a789c2d 100644 --- a/sdk/dotnet/Outputs/SqlQueryParameterText.cs +++ b/sdk/dotnet/Outputs/SqlQueryParameterText.cs @@ -13,6 +13,9 @@ namespace Pulumi.Databricks.Outputs [OutputType] public sealed class SqlQueryParameterText { + /// + /// The default value for this parameter. + /// public readonly string Value; [OutputConstructor] diff --git a/sdk/dotnet/Recipient.cs b/sdk/dotnet/Recipient.cs index e11912eb..2d824e67 100644 --- a/sdk/dotnet/Recipient.cs +++ b/sdk/dotnet/Recipient.cs @@ -44,7 +44,7 @@ namespace Pulumi.Databricks /// SharingCode = db2opensharecode.Result, /// IpAccessList = new Databricks.Inputs.RecipientIpAccessListArgs /// { - /// AllowedIpAddresses = new[] {}, + /// AllowedIpAddresses = new() { }, /// }, /// }); /// diff --git a/sdk/dotnet/RegisteredModel.cs b/sdk/dotnet/RegisteredModel.cs new file mode 100644 index 00000000..72760d26 --- /dev/null +++ b/sdk/dotnet/RegisteredModel.cs @@ -0,0 +1,198 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + /// + /// This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = new Databricks.RegisteredModel("this", new() + /// { + /// CatalogName = "main", + /// SchemaName = "default", + /// }); + /// + /// }); + /// ``` + /// ## Access Control + /// + /// * databricks.Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges. + /// + /// ## Related Resources + /// + /// The following resources are often used in the same context: + /// + /// * databricks.ModelServing to serve this model on a Databricks serving endpoint. + /// * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. + /// * databricks.Table data to manage tables within Unity Catalog. + /// * databricks.Schema data to manage schemas within Unity Catalog. + /// * databricks.Catalog data to manage catalogs within Unity Catalog. + /// + /// ## Import + /// + /// The registered model resource can be imported using the full (3-level) name of the model. bash + /// + /// ```sh + /// $ pulumi import databricks:index/registeredModel:RegisteredModel this <catalog_name.schema_name.model_name> + /// ``` + /// + [DatabricksResourceType("databricks:index/registeredModel:RegisteredModel")] + public partial class RegisteredModel : global::Pulumi.CustomResource + { + /// + /// The name of the catalog where the schema and the registered model reside. + /// + [Output("catalogName")] + public Output CatalogName { get; private set; } = null!; + + /// + /// The comment attached to the registered model. + /// + [Output("comment")] + public Output Comment { get; private set; } = null!; + + /// + /// The name of the registered model. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The name of the schema where the registered model resides. + /// + [Output("schemaName")] + public Output SchemaName { get; private set; } = null!; + + [Output("storageLocation")] + public Output StorageLocation { get; private set; } = null!; + + + /// + /// Create a RegisteredModel resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public RegisteredModel(string name, RegisteredModelArgs args, CustomResourceOptions? options = null) + : base("databricks:index/registeredModel:RegisteredModel", name, args ?? new RegisteredModelArgs(), MakeResourceOptions(options, "")) + { + } + + private RegisteredModel(string name, Input id, RegisteredModelState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/registeredModel:RegisteredModel", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing RegisteredModel resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static RegisteredModel Get(string name, Input id, RegisteredModelState? state = null, CustomResourceOptions? options = null) + { + return new RegisteredModel(name, id, state, options); + } + } + + public sealed class RegisteredModelArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the catalog where the schema and the registered model reside. + /// + [Input("catalogName", required: true)] + public Input CatalogName { get; set; } = null!; + + /// + /// The comment attached to the registered model. + /// + [Input("comment")] + public Input? Comment { get; set; } + + /// + /// The name of the registered model. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The name of the schema where the registered model resides. + /// + [Input("schemaName", required: true)] + public Input SchemaName { get; set; } = null!; + + [Input("storageLocation")] + public Input? StorageLocation { get; set; } + + public RegisteredModelArgs() + { + } + public static new RegisteredModelArgs Empty => new RegisteredModelArgs(); + } + + public sealed class RegisteredModelState : global::Pulumi.ResourceArgs + { + /// + /// The name of the catalog where the schema and the registered model reside. + /// + [Input("catalogName")] + public Input? CatalogName { get; set; } + + /// + /// The comment attached to the registered model. + /// + [Input("comment")] + public Input? Comment { get; set; } + + /// + /// The name of the registered model. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The name of the schema where the registered model resides. + /// + [Input("schemaName")] + public Input? SchemaName { get; set; } + + [Input("storageLocation")] + public Input? StorageLocation { get; set; } + + public RegisteredModelState() + { + } + public static new RegisteredModelState Empty => new RegisteredModelState(); + } +} diff --git a/sdk/dotnet/Schema.cs b/sdk/dotnet/Schema.cs index 10f20d78..b3990eed 100644 --- a/sdk/dotnet/Schema.cs +++ b/sdk/dotnet/Schema.cs @@ -105,7 +105,7 @@ public partial class Schema : global::Pulumi.CustomResource public Output?> Properties { get; private set; } = null!; /// - /// Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + /// Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. /// [Output("storageRoot")] public Output StorageRoot { get; private set; } = null!; @@ -202,7 +202,7 @@ public InputMap Properties } /// - /// Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + /// Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. /// [Input("storageRoot")] public Input? StorageRoot { get; set; } @@ -261,7 +261,7 @@ public InputMap Properties } /// - /// Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + /// Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. /// [Input("storageRoot")] public Input? StorageRoot { get; set; } diff --git a/sdk/dotnet/SecretAcl.cs b/sdk/dotnet/SecretAcl.cs index 020fa3bd..2a6bfa78 100644 --- a/sdk/dotnet/SecretAcl.cs +++ b/sdk/dotnet/SecretAcl.cs @@ -14,7 +14,7 @@ namespace Pulumi.Databricks /// /// ## Example Usage /// - /// This way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault. + /// This way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault. /// /// ```csharp /// using System.Collections.Generic; @@ -73,7 +73,7 @@ public partial class SecretAcl : global::Pulumi.CustomResource public Output Permission { get; private set; } = null!; /// - /// name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + /// principal's identifier. It can be: /// [Output("principal")] public Output Principal { get; private set; } = null!; @@ -137,7 +137,7 @@ public sealed class SecretAclArgs : global::Pulumi.ResourceArgs public Input Permission { get; set; } = null!; /// - /// name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + /// principal's identifier. It can be: /// [Input("principal", required: true)] public Input Principal { get; set; } = null!; @@ -163,7 +163,7 @@ public sealed class SecretAclState : global::Pulumi.ResourceArgs public Input? Permission { get; set; } /// - /// name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + /// principal's identifier. It can be: /// [Input("principal")] public Input? Principal { get; set; } diff --git a/sdk/dotnet/SqlDashboard.cs b/sdk/dotnet/SqlDashboard.cs index 9002263e..8cc4c3f8 100644 --- a/sdk/dotnet/SqlDashboard.cs +++ b/sdk/dotnet/SqlDashboard.cs @@ -92,6 +92,9 @@ public partial class SqlDashboard : global::Pulumi.CustomResource [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; + [Output("dashboardFiltersEnabled")] + public Output DashboardFiltersEnabled { get; private set; } = null!; + [Output("name")] public Output Name { get; private set; } = null!; @@ -153,6 +156,9 @@ public sealed class SqlDashboardArgs : global::Pulumi.ResourceArgs [Input("createdAt")] public Input? CreatedAt { get; set; } + [Input("dashboardFiltersEnabled")] + public Input? DashboardFiltersEnabled { get; set; } + [Input("name")] public Input? Name { get; set; } @@ -181,6 +187,9 @@ public sealed class SqlDashboardState : global::Pulumi.ResourceArgs [Input("createdAt")] public Input? CreatedAt { get; set; } + [Input("dashboardFiltersEnabled")] + public Input? DashboardFiltersEnabled { get; set; } + [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/SqlQuery.cs b/sdk/dotnet/SqlQuery.cs index 77db8a6c..660c0e69 100644 --- a/sdk/dotnet/SqlQuery.cs +++ b/sdk/dotnet/SqlQuery.cs @@ -154,24 +154,42 @@ public partial class SqlQuery : global::Pulumi.CustomResource [Output("createdAt")] public Output CreatedAt { get; private set; } = null!; + /// + /// Data source ID of a SQL warehouse + /// [Output("dataSourceId")] public Output DataSourceId { get; private set; } = null!; + /// + /// General description that conveys additional information about this query such as usage notes. + /// [Output("description")] public Output Description { get; private set; } = null!; + /// + /// The title of this query that appears in list views, widget headings, and on the query page. + /// [Output("name")] public Output Name { get; private set; } = null!; [Output("parameters")] public Output> Parameters { get; private set; } = null!; + /// + /// The identifier of the workspace folder containing the object. + /// [Output("parent")] public Output Parent { get; private set; } = null!; + /// + /// The text of the query to be run. + /// [Output("query")] public Output Query { get; private set; } = null!; + /// + /// Run as role. Possible values are `viewer`, `owner`. + /// [Output("runAsRole")] public Output RunAsRole { get; private set; } = null!; @@ -233,12 +251,21 @@ public sealed class SqlQueryArgs : global::Pulumi.ResourceArgs [Input("createdAt")] public Input? CreatedAt { get; set; } + /// + /// Data source ID of a SQL warehouse + /// [Input("dataSourceId", required: true)] public Input DataSourceId { get; set; } = null!; + /// + /// General description that conveys additional information about this query such as usage notes. + /// [Input("description")] public Input? Description { get; set; } + /// + /// The title of this query that appears in list views, widget headings, and on the query page. + /// [Input("name")] public Input? Name { get; set; } @@ -250,12 +277,21 @@ public InputList Parameters set => _parameters = value; } + /// + /// The identifier of the workspace folder containing the object. + /// [Input("parent")] public Input? Parent { get; set; } + /// + /// The text of the query to be run. + /// [Input("query", required: true)] public Input Query { get; set; } = null!; + /// + /// Run as role. Possible values are `viewer`, `owner`. + /// [Input("runAsRole")] public Input? RunAsRole { get; set; } @@ -284,12 +320,21 @@ public sealed class SqlQueryState : global::Pulumi.ResourceArgs [Input("createdAt")] public Input? CreatedAt { get; set; } + /// + /// Data source ID of a SQL warehouse + /// [Input("dataSourceId")] public Input? DataSourceId { get; set; } + /// + /// General description that conveys additional information about this query such as usage notes. + /// [Input("description")] public Input? Description { get; set; } + /// + /// The title of this query that appears in list views, widget headings, and on the query page. + /// [Input("name")] public Input? Name { get; set; } @@ -301,12 +346,21 @@ public InputList Parameters set => _parameters = value; } + /// + /// The identifier of the workspace folder containing the object. + /// [Input("parent")] public Input? Parent { get; set; } + /// + /// The text of the query to be run. + /// [Input("query")] public Input? Query { get; set; } + /// + /// Run as role. Possible values are `viewer`, `owner`. + /// [Input("runAsRole")] public Input? RunAsRole { get; set; } diff --git a/sdk/dotnet/SystemSchema.cs b/sdk/dotnet/SystemSchema.cs new file mode 100644 index 00000000..3b1bd608 --- /dev/null +++ b/sdk/dotnet/SystemSchema.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Databricks +{ + /// + /// > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + /// + /// > **Notes** + /// Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future. + /// + /// Manages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin. + /// + /// ## Example Usage + /// + /// Enable the system schema `access` + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Databricks = Pulumi.Databricks; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = new Databricks.SystemSchema("this", new() + /// { + /// Schema = "access", + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// This resource can be imported by the metastore id and schema name bash + /// + /// ```sh + /// $ pulumi import databricks:index/systemSchema:SystemSchema this <metastore_id>|<schema_name> + /// ``` + /// + [DatabricksResourceType("databricks:index/systemSchema:SystemSchema")] + public partial class SystemSchema : global::Pulumi.CustomResource + { + [Output("metastoreId")] + public Output MetastoreId { get; private set; } = null!; + + /// + /// Full name of the system schema. + /// + [Output("schema")] + public Output Schema { get; private set; } = null!; + + /// + /// The current state of enablement for the system schema. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + + /// + /// Create a SystemSchema resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public SystemSchema(string name, SystemSchemaArgs? args = null, CustomResourceOptions? options = null) + : base("databricks:index/systemSchema:SystemSchema", name, args ?? new SystemSchemaArgs(), MakeResourceOptions(options, "")) + { + } + + private SystemSchema(string name, Input id, SystemSchemaState? state = null, CustomResourceOptions? options = null) + : base("databricks:index/systemSchema:SystemSchema", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing SystemSchema resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static SystemSchema Get(string name, Input id, SystemSchemaState? state = null, CustomResourceOptions? options = null) + { + return new SystemSchema(name, id, state, options); + } + } + + public sealed class SystemSchemaArgs : global::Pulumi.ResourceArgs + { + /// + /// Full name of the system schema. + /// + [Input("schema")] + public Input? Schema { get; set; } + + /// + /// The current state of enablement for the system schema. + /// + [Input("state")] + public Input? State { get; set; } + + public SystemSchemaArgs() + { + } + public static new SystemSchemaArgs Empty => new SystemSchemaArgs(); + } + + public sealed class SystemSchemaState : global::Pulumi.ResourceArgs + { + [Input("metastoreId")] + public Input? MetastoreId { get; set; } + + /// + /// Full name of the system schema. + /// + [Input("schema")] + public Input? Schema { get; set; } + + /// + /// The current state of enablement for the system schema. + /// + [Input("state")] + public Input? State { get; set; } + + public SystemSchemaState() + { + } + public static new SystemSchemaState Empty => new SystemSchemaState(); + } +} diff --git a/sdk/dotnet/User.cs b/sdk/dotnet/User.cs index 6d5e6e66..67d0c852 100644 --- a/sdk/dotnet/User.cs +++ b/sdk/dotnet/User.cs @@ -244,7 +244,7 @@ public partial class User : global::Pulumi.CustomResource public Output Repos { get; private set; } = null!; /// - /// This is the username of the given user and will be their form of access and identity. + /// This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. /// [Output("userName")] public Output UserName { get; private set; } = null!; @@ -374,7 +374,7 @@ public sealed class UserArgs : global::Pulumi.ResourceArgs public Input? Repos { get; set; } /// - /// This is the username of the given user and will be their form of access and identity. + /// This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. /// [Input("userName", required: true)] public Input UserName { get; set; } = null!; @@ -466,7 +466,7 @@ public sealed class UserState : global::Pulumi.ResourceArgs public Input? Repos { get; set; } /// - /// This is the username of the given user and will be their form of access and identity. + /// This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. /// [Input("userName")] public Input? UserName { get; set; } diff --git a/sdk/dotnet/Volume.cs b/sdk/dotnet/Volume.cs index a1da4e3f..9910bba1 100644 --- a/sdk/dotnet/Volume.cs +++ b/sdk/dotnet/Volume.cs @@ -130,13 +130,13 @@ public partial class Volume : global::Pulumi.CustomResource public Output SchemaName { get; private set; } = null!; /// - /// Path inside an External Location. Only used for `EXTERNAL` Volumes. + /// Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. /// [Output("storageLocation")] public Output StorageLocation { get; private set; } = null!; /// - /// Volume type. `EXTERNAL` or `MANAGED`. + /// Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. /// [Output("volumeType")] public Output VolumeType { get; private set; } = null!; @@ -218,13 +218,13 @@ public sealed class VolumeArgs : global::Pulumi.ResourceArgs public Input SchemaName { get; set; } = null!; /// - /// Path inside an External Location. Only used for `EXTERNAL` Volumes. + /// Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. /// [Input("storageLocation")] public Input? StorageLocation { get; set; } /// - /// Volume type. `EXTERNAL` or `MANAGED`. + /// Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. /// [Input("volumeType", required: true)] public Input VolumeType { get; set; } = null!; @@ -268,13 +268,13 @@ public sealed class VolumeState : global::Pulumi.ResourceArgs public Input? SchemaName { get; set; } /// - /// Path inside an External Location. Only used for `EXTERNAL` Volumes. + /// Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. /// [Input("storageLocation")] public Input? StorageLocation { get; set; } /// - /// Volume type. `EXTERNAL` or `MANAGED`. + /// Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. /// [Input("volumeType")] public Input? VolumeType { get; set; } diff --git a/sdk/go.mod b/sdk/go.mod index 46489901..d43aa654 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.86.0 + github.com/pulumi/pulumi/sdk/v3 v3.89.0 ) require ( @@ -12,7 +12,7 @@ require ( github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect - github.com/agext/levenshtein v1.2.1 // indirect + github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect @@ -33,9 +33,9 @@ require ( github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/hcl/v2 v2.16.1 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect github.com/imdario/mergo v0.3.13 // indirect - github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect @@ -43,7 +43,7 @@ require ( github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect - github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect @@ -53,26 +53,28 @@ require ( github.com/pjbgf/sha1cd v0.3.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect + github.com/pulumi/esc v0.5.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect - github.com/sergi/go-diff v1.2.0 // indirect + github.com/sergi/go-diff v1.3.1 // indirect github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/cast v1.4.1 // indirect - github.com/spf13/cobra v1.6.1 // indirect + github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect - github.com/zclconf/go-cty v1.12.1 // indirect + github.com/zclconf/go-cty v1.13.2 // indirect go.uber.org/atomic v1.9.0 // indirect - golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a // indirect + golang.org/x/crypto v0.9.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect golang.org/x/net v0.10.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.8.0 // indirect + golang.org/x/sync v0.2.0 // indirect + golang.org/x/sys v0.13.0 // indirect golang.org/x/term v0.8.0 // indirect golang.org/x/text v0.9.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index 8b6acb1f..a5c9c37e 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -8,8 +8,8 @@ github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= -github.com/agext/levenshtein v1.2.1 h1:QmvMAjj2aEICytGiWzmxoE0x2KZvE0fvmqMOfy2tjT8= -github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= +github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= @@ -77,12 +77,12 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/hcl/v2 v2.16.1 h1:BwuxEMD/tsYgbhIW7UuI3crjovf3MzuFWiVgiv57iHg= -github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= @@ -92,9 +92,8 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -118,8 +117,8 @@ github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWV github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= -github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM= -github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= @@ -143,29 +142,31 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= +github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= @@ -176,8 +177,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -191,8 +192,8 @@ github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY= -github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= +github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= @@ -205,8 +206,10 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a h1:diz9pEYuTIuLMJLs3rGDkeaTsNyRs6duYdFyPAxzE/U= -golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= @@ -230,8 +233,8 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= +golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -256,8 +259,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= diff --git a/sdk/go/databricks/cluster.go b/sdk/go/databricks/cluster.go index e254b234..811418cc 100644 --- a/sdk/go/databricks/cluster.go +++ b/sdk/go/databricks/cluster.go @@ -29,13 +29,12 @@ type Cluster struct { ApplyPolicyDefaultValues pulumi.BoolPtrOutput `pulumi:"applyPolicyDefaultValues"` Autoscale ClusterAutoscalePtrOutput `pulumi:"autoscale"` // Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. Defaults to `60`. *We highly recommend having this setting present for Interactive/BI clusters.* - AutoterminationMinutes pulumi.IntPtrOutput `pulumi:"autoterminationMinutes"` - AwsAttributes ClusterAwsAttributesPtrOutput `pulumi:"awsAttributes"` - AzureAttributes ClusterAzureAttributesPtrOutput `pulumi:"azureAttributes"` - ClusterId pulumi.StringOutput `pulumi:"clusterId"` - ClusterLogConf ClusterClusterLogConfPtrOutput `pulumi:"clusterLogConf"` - // Deprecated: cluster_mount_info block is deprecated due the Clusters API changes. - ClusterMountInfos ClusterClusterMountInfoArrayOutput `pulumi:"clusterMountInfos"` + AutoterminationMinutes pulumi.IntPtrOutput `pulumi:"autoterminationMinutes"` + AwsAttributes ClusterAwsAttributesPtrOutput `pulumi:"awsAttributes"` + AzureAttributes ClusterAzureAttributesPtrOutput `pulumi:"azureAttributes"` + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + ClusterLogConf ClusterClusterLogConfPtrOutput `pulumi:"clusterLogConf"` + ClusterMountInfos ClusterClusterMountInfoArrayOutput `pulumi:"clusterMountInfos"` // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. ClusterName pulumi.StringPtrOutput `pulumi:"clusterName"` // Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS EC2 instances and EBS volumes) with these tags in addition to `defaultTags`. If a custom cluster tag has the same name as a default cluster tag, the custom tag is prefixed with an `x_` when it is propagated. @@ -169,13 +168,12 @@ type clusterState struct { ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` Autoscale *ClusterAutoscale `pulumi:"autoscale"` // Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. Defaults to `60`. *We highly recommend having this setting present for Interactive/BI clusters.* - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *ClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *ClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *ClusterClusterLogConf `pulumi:"clusterLogConf"` - // Deprecated: cluster_mount_info block is deprecated due the Clusters API changes. - ClusterMountInfos []ClusterClusterMountInfo `pulumi:"clusterMountInfos"` + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *ClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *ClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *ClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []ClusterClusterMountInfo `pulumi:"clusterMountInfos"` // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. ClusterName *string `pulumi:"clusterName"` // Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS EC2 instances and EBS volumes) with these tags in addition to `defaultTags`. If a custom cluster tag has the same name as a default cluster tag, the custom tag is prefixed with an `x_` when it is propagated. @@ -282,8 +280,7 @@ type ClusterState struct { AzureAttributes ClusterAzureAttributesPtrInput ClusterId pulumi.StringPtrInput ClusterLogConf ClusterClusterLogConfPtrInput - // Deprecated: cluster_mount_info block is deprecated due the Clusters API changes. - ClusterMountInfos ClusterClusterMountInfoArrayInput + ClusterMountInfos ClusterClusterMountInfoArrayInput // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. ClusterName pulumi.StringPtrInput // Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS EC2 instances and EBS volumes) with these tags in addition to `defaultTags`. If a custom cluster tag has the same name as a default cluster tag, the custom tag is prefixed with an `x_` when it is propagated. @@ -389,13 +386,12 @@ type clusterArgs struct { ApplyPolicyDefaultValues *bool `pulumi:"applyPolicyDefaultValues"` Autoscale *ClusterAutoscale `pulumi:"autoscale"` // Automatically terminate the cluster after being inactive for this time in minutes. If specified, the threshold must be between 10 and 10000 minutes. You can also set this value to 0 to explicitly disable automatic termination. Defaults to `60`. *We highly recommend having this setting present for Interactive/BI clusters.* - AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` - AwsAttributes *ClusterAwsAttributes `pulumi:"awsAttributes"` - AzureAttributes *ClusterAzureAttributes `pulumi:"azureAttributes"` - ClusterId *string `pulumi:"clusterId"` - ClusterLogConf *ClusterClusterLogConf `pulumi:"clusterLogConf"` - // Deprecated: cluster_mount_info block is deprecated due the Clusters API changes. - ClusterMountInfos []ClusterClusterMountInfo `pulumi:"clusterMountInfos"` + AutoterminationMinutes *int `pulumi:"autoterminationMinutes"` + AwsAttributes *ClusterAwsAttributes `pulumi:"awsAttributes"` + AzureAttributes *ClusterAzureAttributes `pulumi:"azureAttributes"` + ClusterId *string `pulumi:"clusterId"` + ClusterLogConf *ClusterClusterLogConf `pulumi:"clusterLogConf"` + ClusterMountInfos []ClusterClusterMountInfo `pulumi:"clusterMountInfos"` // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. ClusterName *string `pulumi:"clusterName"` // Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS EC2 instances and EBS volumes) with these tags in addition to `defaultTags`. If a custom cluster tag has the same name as a default cluster tag, the custom tag is prefixed with an `x_` when it is propagated. @@ -498,8 +494,7 @@ type ClusterArgs struct { AzureAttributes ClusterAzureAttributesPtrInput ClusterId pulumi.StringPtrInput ClusterLogConf ClusterClusterLogConfPtrInput - // Deprecated: cluster_mount_info block is deprecated due the Clusters API changes. - ClusterMountInfos ClusterClusterMountInfoArrayInput + ClusterMountInfos ClusterClusterMountInfoArrayInput // Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. ClusterName pulumi.StringPtrInput // Additional tags for cluster resources. Databricks will tag all cluster resources (e.g., AWS EC2 instances and EBS volumes) with these tags in addition to `defaultTags`. If a custom cluster tag has the same name as a default cluster tag, the custom tag is prefixed with an `x_` when it is propagated. @@ -732,7 +727,6 @@ func (o ClusterOutput) ClusterLogConf() ClusterClusterLogConfPtrOutput { return o.ApplyT(func(v *Cluster) ClusterClusterLogConfPtrOutput { return v.ClusterLogConf }).(ClusterClusterLogConfPtrOutput) } -// Deprecated: cluster_mount_info block is deprecated due the Clusters API changes. func (o ClusterOutput) ClusterMountInfos() ClusterClusterMountInfoArrayOutput { return o.ApplyT(func(v *Cluster) ClusterClusterMountInfoArrayOutput { return v.ClusterMountInfos }).(ClusterClusterMountInfoArrayOutput) } diff --git a/sdk/go/databricks/getCurrentUser.go b/sdk/go/databricks/getCurrentUser.go index 3726baa9..d74b4d9b 100644 --- a/sdk/go/databricks/getCurrentUser.go +++ b/sdk/go/databricks/getCurrentUser.go @@ -4,8 +4,12 @@ package databricks import ( + "context" + "reflect" + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Exported attributes @@ -51,3 +55,72 @@ type GetCurrentUserResult struct { UserName string `pulumi:"userName"` WorkspaceUrl string `pulumi:"workspaceUrl"` } + +func GetCurrentUserOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetCurrentUserResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetCurrentUserResult, error) { + r, err := GetCurrentUser(ctx, opts...) + var s GetCurrentUserResult + if r != nil { + s = *r + } + return s, err + }).(GetCurrentUserResultOutput) +} + +// A collection of values returned by getCurrentUser. +type GetCurrentUserResultOutput struct{ *pulumi.OutputState } + +func (GetCurrentUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCurrentUserResult)(nil)).Elem() +} + +func (o GetCurrentUserResultOutput) ToGetCurrentUserResultOutput() GetCurrentUserResultOutput { + return o +} + +func (o GetCurrentUserResultOutput) ToGetCurrentUserResultOutputWithContext(ctx context.Context) GetCurrentUserResultOutput { + return o +} + +func (o GetCurrentUserResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetCurrentUserResult] { + return pulumix.Output[GetCurrentUserResult]{ + OutputState: o.OutputState, + } +} + +func (o GetCurrentUserResultOutput) AclPrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v GetCurrentUserResult) string { return v.AclPrincipalId }).(pulumi.StringOutput) +} + +func (o GetCurrentUserResultOutput) Alphanumeric() pulumi.StringOutput { + return o.ApplyT(func(v GetCurrentUserResult) string { return v.Alphanumeric }).(pulumi.StringOutput) +} + +func (o GetCurrentUserResultOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v GetCurrentUserResult) string { return v.ExternalId }).(pulumi.StringOutput) +} + +func (o GetCurrentUserResultOutput) Home() pulumi.StringOutput { + return o.ApplyT(func(v GetCurrentUserResult) string { return v.Home }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetCurrentUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCurrentUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCurrentUserResultOutput) Repos() pulumi.StringOutput { + return o.ApplyT(func(v GetCurrentUserResult) string { return v.Repos }).(pulumi.StringOutput) +} + +func (o GetCurrentUserResultOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetCurrentUserResult) string { return v.UserName }).(pulumi.StringOutput) +} + +func (o GetCurrentUserResultOutput) WorkspaceUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetCurrentUserResult) string { return v.WorkspaceUrl }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCurrentUserResultOutput{}) +} diff --git a/sdk/go/databricks/getZones.go b/sdk/go/databricks/getZones.go index d8d5f8fe..eaa62c39 100644 --- a/sdk/go/databricks/getZones.go +++ b/sdk/go/databricks/getZones.go @@ -4,8 +4,12 @@ package databricks import ( + "context" + "reflect" + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -54,3 +58,54 @@ type GetZonesResult struct { // This is a list of all the zones available for your subnets in your Databricks workspace. Zones []string `pulumi:"zones"` } + +func GetZonesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetZonesResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetZonesResult, error) { + r, err := GetZones(ctx, opts...) + var s GetZonesResult + if r != nil { + s = *r + } + return s, err + }).(GetZonesResultOutput) +} + +// A collection of values returned by getZones. +type GetZonesResultOutput struct{ *pulumi.OutputState } + +func (GetZonesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetZonesResult)(nil)).Elem() +} + +func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput { + return o +} + +func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput { + return o +} + +func (o GetZonesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetZonesResult] { + return pulumix.Output[GetZonesResult]{ + OutputState: o.OutputState, + } +} + +// This is the default zone that gets assigned to your workspace. This is the zone used by default for clusters and instance pools. +func (o GetZonesResultOutput) DefaultZone() pulumi.StringOutput { + return o.ApplyT(func(v GetZonesResult) string { return v.DefaultZone }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetZonesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetZonesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// This is a list of all the zones available for your subnets in your Databricks workspace. +func (o GetZonesResultOutput) Zones() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetZonesResult) []string { return v.Zones }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetZonesResultOutput{}) +} diff --git a/sdk/go/databricks/grants.go b/sdk/go/databricks/grants.go index e2809ac4..befbb831 100644 --- a/sdk/go/databricks/grants.go +++ b/sdk/go/databricks/grants.go @@ -23,6 +23,7 @@ type Grants struct { Grants GrantsGrantArrayOutput `pulumi:"grants"` MaterializedView pulumi.StringPtrOutput `pulumi:"materializedView"` Metastore pulumi.StringPtrOutput `pulumi:"metastore"` + Model pulumi.StringPtrOutput `pulumi:"model"` Schema pulumi.StringPtrOutput `pulumi:"schema"` Share pulumi.StringPtrOutput `pulumi:"share"` StorageCredential pulumi.StringPtrOutput `pulumi:"storageCredential"` @@ -71,6 +72,7 @@ type grantsState struct { Grants []GrantsGrant `pulumi:"grants"` MaterializedView *string `pulumi:"materializedView"` Metastore *string `pulumi:"metastore"` + Model *string `pulumi:"model"` Schema *string `pulumi:"schema"` Share *string `pulumi:"share"` StorageCredential *string `pulumi:"storageCredential"` @@ -87,6 +89,7 @@ type GrantsState struct { Grants GrantsGrantArrayInput MaterializedView pulumi.StringPtrInput Metastore pulumi.StringPtrInput + Model pulumi.StringPtrInput Schema pulumi.StringPtrInput Share pulumi.StringPtrInput StorageCredential pulumi.StringPtrInput @@ -107,6 +110,7 @@ type grantsArgs struct { Grants []GrantsGrant `pulumi:"grants"` MaterializedView *string `pulumi:"materializedView"` Metastore *string `pulumi:"metastore"` + Model *string `pulumi:"model"` Schema *string `pulumi:"schema"` Share *string `pulumi:"share"` StorageCredential *string `pulumi:"storageCredential"` @@ -124,6 +128,7 @@ type GrantsArgs struct { Grants GrantsGrantArrayInput MaterializedView pulumi.StringPtrInput Metastore pulumi.StringPtrInput + Model pulumi.StringPtrInput Schema pulumi.StringPtrInput Share pulumi.StringPtrInput StorageCredential pulumi.StringPtrInput @@ -271,6 +276,10 @@ func (o GrantsOutput) Metastore() pulumi.StringPtrOutput { return o.ApplyT(func(v *Grants) pulumi.StringPtrOutput { return v.Metastore }).(pulumi.StringPtrOutput) } +func (o GrantsOutput) Model() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Grants) pulumi.StringPtrOutput { return v.Model }).(pulumi.StringPtrOutput) +} + func (o GrantsOutput) Schema() pulumi.StringPtrOutput { return o.ApplyT(func(v *Grants) pulumi.StringPtrOutput { return v.Schema }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/init.go b/sdk/go/databricks/init.go index eb3afab8..f635dbf2 100644 --- a/sdk/go/databricks/init.go +++ b/sdk/go/databricks/init.go @@ -113,6 +113,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Pipeline{} case "databricks:index/recipient:Recipient": r = &Recipient{} + case "databricks:index/registeredModel:RegisteredModel": + r = &RegisteredModel{} case "databricks:index/repo:Repo": r = &Repo{} case "databricks:index/schema:Schema": @@ -151,6 +153,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &SqlWidget{} case "databricks:index/storageCredential:StorageCredential": r = &StorageCredential{} + case "databricks:index/systemSchema:SystemSchema": + r = &SystemSchema{} case "databricks:index/table:Table": r = &Table{} case "databricks:index/token:Token": @@ -428,6 +432,11 @@ func init() { "index/recipient", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/registeredModel", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/repo", @@ -523,6 +532,11 @@ func init() { "index/storageCredential", &module{version}, ) + pulumi.RegisterResourceModule( + "databricks", + "index/systemSchema", + &module{version}, + ) pulumi.RegisterResourceModule( "databricks", "index/table", diff --git a/sdk/go/databricks/mlflowExperiment.go b/sdk/go/databricks/mlflowExperiment.go index cf5a0d37..e91e137d 100644 --- a/sdk/go/databricks/mlflowExperiment.go +++ b/sdk/go/databricks/mlflowExperiment.go @@ -52,9 +52,10 @@ import ( // // The following resources are often used in the same context: // +// * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. // * End to end workspace management guide. // * Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). -// * MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. +// * MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. // * Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). // * Notebook data to export a notebook from Databricks Workspace. // * Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/go/databricks/mlflowModel.go b/sdk/go/databricks/mlflowModel.go index 0f699fe3..c967ef74 100644 --- a/sdk/go/databricks/mlflowModel.go +++ b/sdk/go/databricks/mlflowModel.go @@ -14,6 +14,8 @@ import ( // This resource allows you to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. // +// **Note** This documentation covers the Workspace Model Registry. Databricks recommends using Models in Unity Catalog. Models in Unity Catalog provides centralized model governance, cross-workspace access, lineage, and deployment. +// // ## Example Usage // // ```go @@ -57,6 +59,7 @@ import ( // // The following resources are often used in the same context: // +// * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. // * End to end workspace management guide. // * ModelServing to serve this model on a Databricks serving endpoint. // * Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). diff --git a/sdk/go/databricks/modelServing.go b/sdk/go/databricks/modelServing.go index 44b5628f..b402fd52 100644 --- a/sdk/go/databricks/modelServing.go +++ b/sdk/go/databricks/modelServing.go @@ -77,9 +77,10 @@ import ( // // The following resources are often used in the same context: // +// * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. // * End to end workspace management guide. // * Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). -// * MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. +// * MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. // * Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). // * Notebook data to export a notebook from Databricks Workspace. // * Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/go/databricks/pulumiTypes.go b/sdk/go/databricks/pulumiTypes.go index f6f30e28..44d9fe23 100644 --- a/sdk/go/databricks/pulumiTypes.go +++ b/sdk/go/databricks/pulumiTypes.go @@ -19137,6 +19137,7 @@ func (o JobPythonWheelTaskPtrOutput) Parameters() pulumi.StringArrayOutput { } type JobQueue struct { + Enabled bool `pulumi:"enabled"` } // JobQueueInput is an input type that accepts JobQueueArgs and JobQueueOutput values. @@ -19151,6 +19152,7 @@ type JobQueueInput interface { } type JobQueueArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` } func (JobQueueArgs) ElementType() reflect.Type { @@ -19248,6 +19250,10 @@ func (o JobQueueOutput) ToOutput(ctx context.Context) pulumix.Output[JobQueue] { } } +func (o JobQueueOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v JobQueue) bool { return v.Enabled }).(pulumi.BoolOutput) +} + type JobQueuePtrOutput struct{ *pulumi.OutputState } func (JobQueuePtrOutput) ElementType() reflect.Type { @@ -19278,10 +19284,19 @@ func (o JobQueuePtrOutput) Elem() JobQueueOutput { }).(JobQueueOutput) } +func (o JobQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *JobQueue) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) +} + type JobRunAs struct { // The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. // - // Example + // Example: // // ```go // package main @@ -19324,7 +19339,7 @@ type JobRunAsInput interface { type JobRunAsArgs struct { // The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. // - // Example + // Example: // // ```go // package main @@ -19450,7 +19465,7 @@ func (o JobRunAsOutput) ToOutput(ctx context.Context) pulumix.Output[JobRunAs] { // The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. // -// # Example +// Example: // // ```go // package main @@ -19518,7 +19533,7 @@ func (o JobRunAsPtrOutput) Elem() JobRunAsOutput { // The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. // -// # Example +// Example: // // ```go // package main @@ -33469,6 +33484,8 @@ type ModelServingConfigServedModel struct { ScaleToZeroEnabled *bool `pulumi:"scaleToZeroEnabled"` // The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 provisioned concurrency). WorkloadSize string `pulumi:"workloadSize"` + // The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + WorkloadType *string `pulumi:"workloadType"` } // ModelServingConfigServedModelInput is an input type that accepts ModelServingConfigServedModelArgs and ModelServingConfigServedModelOutput values. @@ -33497,6 +33514,8 @@ type ModelServingConfigServedModelArgs struct { ScaleToZeroEnabled pulumi.BoolPtrInput `pulumi:"scaleToZeroEnabled"` // The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 provisioned concurrency). WorkloadSize pulumi.StringInput `pulumi:"workloadSize"` + // The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + WorkloadType pulumi.StringPtrInput `pulumi:"workloadType"` } func (ModelServingConfigServedModelArgs) ElementType() reflect.Type { @@ -33603,6 +33622,11 @@ func (o ModelServingConfigServedModelOutput) WorkloadSize() pulumi.StringOutput return o.ApplyT(func(v ModelServingConfigServedModel) string { return v.WorkloadSize }).(pulumi.StringOutput) } +// The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. +func (o ModelServingConfigServedModelOutput) WorkloadType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ModelServingConfigServedModel) *string { return v.WorkloadType }).(pulumi.StringPtrOutput) +} + type ModelServingConfigServedModelArrayOutput struct{ *pulumi.OutputState } func (ModelServingConfigServedModelArrayOutput) ElementType() reflect.Type { @@ -42606,6 +42630,8 @@ type SqlAlertOptions struct { CustomBody *string `pulumi:"customBody"` // Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. CustomSubject *string `pulumi:"customSubject"` + // State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + EmptyResultState *string `pulumi:"emptyResultState"` // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. Muted *bool `pulumi:"muted"` // Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) @@ -42632,6 +42658,8 @@ type SqlAlertOptionsArgs struct { CustomBody pulumi.StringPtrInput `pulumi:"customBody"` // Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. CustomSubject pulumi.StringPtrInput `pulumi:"customSubject"` + // State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + EmptyResultState pulumi.StringPtrInput `pulumi:"emptyResultState"` // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. Muted pulumi.BoolPtrInput `pulumi:"muted"` // Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`) @@ -42750,6 +42778,11 @@ func (o SqlAlertOptionsOutput) CustomSubject() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlAlertOptions) *string { return v.CustomSubject }).(pulumi.StringPtrOutput) } +// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. +func (o SqlAlertOptionsOutput) EmptyResultState() pulumi.StringPtrOutput { + return o.ApplyT(func(v SqlAlertOptions) *string { return v.EmptyResultState }).(pulumi.StringPtrOutput) +} + // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. func (o SqlAlertOptionsOutput) Muted() pulumi.BoolPtrOutput { return o.ApplyT(func(v SqlAlertOptions) *bool { return v.Muted }).(pulumi.BoolPtrOutput) @@ -42825,6 +42858,16 @@ func (o SqlAlertOptionsPtrOutput) CustomSubject() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. +func (o SqlAlertOptionsPtrOutput) EmptyResultState() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SqlAlertOptions) *string { + if v == nil { + return nil + } + return v.EmptyResultState + }).(pulumi.StringPtrOutput) +} + // Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. func (o SqlAlertOptionsPtrOutput) Muted() pulumi.BoolPtrOutput { return o.ApplyT(func(v *SqlAlertOptions) *bool { @@ -43658,11 +43701,17 @@ type SqlQueryParameter struct { Datetimesec *SqlQueryParameterDatetimesec `pulumi:"datetimesec"` DatetimesecRange *SqlQueryParameterDatetimesecRange `pulumi:"datetimesecRange"` Enum *SqlQueryParameterEnum `pulumi:"enum"` - Name string `pulumi:"name"` - Number *SqlQueryParameterNumber `pulumi:"number"` - Query *SqlQueryParameterQuery `pulumi:"query"` - Text *SqlQueryParameterText `pulumi:"text"` - Title *string `pulumi:"title"` + // The literal parameter marker that appears between double curly braces in the query text. + // Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. + // + // For `text`, `number`, `date`, `datetime`, `datetimesec` block + Name string `pulumi:"name"` + Number *SqlQueryParameterNumber `pulumi:"number"` + // The text of the query to be run. + Query *SqlQueryParameterQuery `pulumi:"query"` + Text *SqlQueryParameterText `pulumi:"text"` + // The text displayed in a parameter picking widget. + Title *string `pulumi:"title"` } // SqlQueryParameterInput is an input type that accepts SqlQueryParameterArgs and SqlQueryParameterOutput values. @@ -43684,11 +43733,17 @@ type SqlQueryParameterArgs struct { Datetimesec SqlQueryParameterDatetimesecPtrInput `pulumi:"datetimesec"` DatetimesecRange SqlQueryParameterDatetimesecRangePtrInput `pulumi:"datetimesecRange"` Enum SqlQueryParameterEnumPtrInput `pulumi:"enum"` - Name pulumi.StringInput `pulumi:"name"` - Number SqlQueryParameterNumberPtrInput `pulumi:"number"` - Query SqlQueryParameterQueryPtrInput `pulumi:"query"` - Text SqlQueryParameterTextPtrInput `pulumi:"text"` - Title pulumi.StringPtrInput `pulumi:"title"` + // The literal parameter marker that appears between double curly braces in the query text. + // Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. + // + // For `text`, `number`, `date`, `datetime`, `datetimesec` block + Name pulumi.StringInput `pulumi:"name"` + Number SqlQueryParameterNumberPtrInput `pulumi:"number"` + // The text of the query to be run. + Query SqlQueryParameterQueryPtrInput `pulumi:"query"` + Text SqlQueryParameterTextPtrInput `pulumi:"text"` + // The text displayed in a parameter picking widget. + Title pulumi.StringPtrInput `pulumi:"title"` } func (SqlQueryParameterArgs) ElementType() reflect.Type { @@ -43788,6 +43843,10 @@ func (o SqlQueryParameterOutput) Enum() SqlQueryParameterEnumPtrOutput { return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterEnum { return v.Enum }).(SqlQueryParameterEnumPtrOutput) } +// The literal parameter marker that appears between double curly braces in the query text. +// Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. +// +// For `text`, `number`, `date`, `datetime`, `datetimesec` block func (o SqlQueryParameterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v SqlQueryParameter) string { return v.Name }).(pulumi.StringOutput) } @@ -43796,6 +43855,7 @@ func (o SqlQueryParameterOutput) Number() SqlQueryParameterNumberPtrOutput { return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterNumber { return v.Number }).(SqlQueryParameterNumberPtrOutput) } +// The text of the query to be run. func (o SqlQueryParameterOutput) Query() SqlQueryParameterQueryPtrOutput { return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterQuery { return v.Query }).(SqlQueryParameterQueryPtrOutput) } @@ -43804,6 +43864,7 @@ func (o SqlQueryParameterOutput) Text() SqlQueryParameterTextPtrOutput { return o.ApplyT(func(v SqlQueryParameter) *SqlQueryParameterText { return v.Text }).(SqlQueryParameterTextPtrOutput) } +// The text displayed in a parameter picking widget. func (o SqlQueryParameterOutput) Title() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlQueryParameter) *string { return v.Title }).(pulumi.StringPtrOutput) } @@ -43835,6 +43896,7 @@ func (o SqlQueryParameterArrayOutput) Index(i pulumi.IntInput) SqlQueryParameter } type SqlQueryParameterDate struct { + // The default value for this parameter. Value string `pulumi:"value"` } @@ -43850,6 +43912,7 @@ type SqlQueryParameterDateInput interface { } type SqlQueryParameterDateArgs struct { + // The default value for this parameter. Value pulumi.StringInput `pulumi:"value"` } @@ -43948,6 +44011,7 @@ func (o SqlQueryParameterDateOutput) ToOutput(ctx context.Context) pulumix.Outpu } } +// The default value for this parameter. func (o SqlQueryParameterDateOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v SqlQueryParameterDate) string { return v.Value }).(pulumi.StringOutput) } @@ -43982,6 +44046,7 @@ func (o SqlQueryParameterDatePtrOutput) Elem() SqlQueryParameterDateOutput { }).(SqlQueryParameterDateOutput) } +// The default value for this parameter. func (o SqlQueryParameterDatePtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterDate) *string { if v == nil { @@ -43993,7 +44058,8 @@ func (o SqlQueryParameterDatePtrOutput) Value() pulumi.StringPtrOutput { type SqlQueryParameterDateRange struct { Range *SqlQueryParameterDateRangeRange `pulumi:"range"` - Value *string `pulumi:"value"` + // The default value for this parameter. + Value *string `pulumi:"value"` } // SqlQueryParameterDateRangeInput is an input type that accepts SqlQueryParameterDateRangeArgs and SqlQueryParameterDateRangeOutput values. @@ -44009,7 +44075,8 @@ type SqlQueryParameterDateRangeInput interface { type SqlQueryParameterDateRangeArgs struct { Range SqlQueryParameterDateRangeRangePtrInput `pulumi:"range"` - Value pulumi.StringPtrInput `pulumi:"value"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` } func (SqlQueryParameterDateRangeArgs) ElementType() reflect.Type { @@ -44111,6 +44178,7 @@ func (o SqlQueryParameterDateRangeOutput) Range() SqlQueryParameterDateRangeRang return o.ApplyT(func(v SqlQueryParameterDateRange) *SqlQueryParameterDateRangeRange { return v.Range }).(SqlQueryParameterDateRangeRangePtrOutput) } +// The default value for this parameter. func (o SqlQueryParameterDateRangeOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlQueryParameterDateRange) *string { return v.Value }).(pulumi.StringPtrOutput) } @@ -44154,6 +44222,7 @@ func (o SqlQueryParameterDateRangePtrOutput) Range() SqlQueryParameterDateRangeR }).(SqlQueryParameterDateRangeRangePtrOutput) } +// The default value for this parameter. func (o SqlQueryParameterDateRangePtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterDateRange) *string { if v == nil { @@ -44336,6 +44405,7 @@ func (o SqlQueryParameterDateRangeRangePtrOutput) Start() pulumi.StringPtrOutput } type SqlQueryParameterDatetime struct { + // The default value for this parameter. Value string `pulumi:"value"` } @@ -44351,6 +44421,7 @@ type SqlQueryParameterDatetimeInput interface { } type SqlQueryParameterDatetimeArgs struct { + // The default value for this parameter. Value pulumi.StringInput `pulumi:"value"` } @@ -44449,6 +44520,7 @@ func (o SqlQueryParameterDatetimeOutput) ToOutput(ctx context.Context) pulumix.O } } +// The default value for this parameter. func (o SqlQueryParameterDatetimeOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v SqlQueryParameterDatetime) string { return v.Value }).(pulumi.StringOutput) } @@ -44483,6 +44555,7 @@ func (o SqlQueryParameterDatetimePtrOutput) Elem() SqlQueryParameterDatetimeOutp }).(SqlQueryParameterDatetimeOutput) } +// The default value for this parameter. func (o SqlQueryParameterDatetimePtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterDatetime) *string { if v == nil { @@ -44494,7 +44567,8 @@ func (o SqlQueryParameterDatetimePtrOutput) Value() pulumi.StringPtrOutput { type SqlQueryParameterDatetimeRange struct { Range *SqlQueryParameterDatetimeRangeRange `pulumi:"range"` - Value *string `pulumi:"value"` + // The default value for this parameter. + Value *string `pulumi:"value"` } // SqlQueryParameterDatetimeRangeInput is an input type that accepts SqlQueryParameterDatetimeRangeArgs and SqlQueryParameterDatetimeRangeOutput values. @@ -44510,7 +44584,8 @@ type SqlQueryParameterDatetimeRangeInput interface { type SqlQueryParameterDatetimeRangeArgs struct { Range SqlQueryParameterDatetimeRangeRangePtrInput `pulumi:"range"` - Value pulumi.StringPtrInput `pulumi:"value"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` } func (SqlQueryParameterDatetimeRangeArgs) ElementType() reflect.Type { @@ -44612,6 +44687,7 @@ func (o SqlQueryParameterDatetimeRangeOutput) Range() SqlQueryParameterDatetimeR return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *SqlQueryParameterDatetimeRangeRange { return v.Range }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } +// The default value for this parameter. func (o SqlQueryParameterDatetimeRangeOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlQueryParameterDatetimeRange) *string { return v.Value }).(pulumi.StringPtrOutput) } @@ -44655,6 +44731,7 @@ func (o SqlQueryParameterDatetimeRangePtrOutput) Range() SqlQueryParameterDateti }).(SqlQueryParameterDatetimeRangeRangePtrOutput) } +// The default value for this parameter. func (o SqlQueryParameterDatetimeRangePtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterDatetimeRange) *string { if v == nil { @@ -44837,6 +44914,7 @@ func (o SqlQueryParameterDatetimeRangeRangePtrOutput) Start() pulumi.StringPtrOu } type SqlQueryParameterDatetimesec struct { + // The default value for this parameter. Value string `pulumi:"value"` } @@ -44852,6 +44930,7 @@ type SqlQueryParameterDatetimesecInput interface { } type SqlQueryParameterDatetimesecArgs struct { + // The default value for this parameter. Value pulumi.StringInput `pulumi:"value"` } @@ -44950,6 +45029,7 @@ func (o SqlQueryParameterDatetimesecOutput) ToOutput(ctx context.Context) pulumi } } +// The default value for this parameter. func (o SqlQueryParameterDatetimesecOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v SqlQueryParameterDatetimesec) string { return v.Value }).(pulumi.StringOutput) } @@ -44984,6 +45064,7 @@ func (o SqlQueryParameterDatetimesecPtrOutput) Elem() SqlQueryParameterDatetimes }).(SqlQueryParameterDatetimesecOutput) } +// The default value for this parameter. func (o SqlQueryParameterDatetimesecPtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterDatetimesec) *string { if v == nil { @@ -44995,7 +45076,8 @@ func (o SqlQueryParameterDatetimesecPtrOutput) Value() pulumi.StringPtrOutput { type SqlQueryParameterDatetimesecRange struct { Range *SqlQueryParameterDatetimesecRangeRange `pulumi:"range"` - Value *string `pulumi:"value"` + // The default value for this parameter. + Value *string `pulumi:"value"` } // SqlQueryParameterDatetimesecRangeInput is an input type that accepts SqlQueryParameterDatetimesecRangeArgs and SqlQueryParameterDatetimesecRangeOutput values. @@ -45011,7 +45093,8 @@ type SqlQueryParameterDatetimesecRangeInput interface { type SqlQueryParameterDatetimesecRangeArgs struct { Range SqlQueryParameterDatetimesecRangeRangePtrInput `pulumi:"range"` - Value pulumi.StringPtrInput `pulumi:"value"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` } func (SqlQueryParameterDatetimesecRangeArgs) ElementType() reflect.Type { @@ -45113,6 +45196,7 @@ func (o SqlQueryParameterDatetimesecRangeOutput) Range() SqlQueryParameterDateti return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *SqlQueryParameterDatetimesecRangeRange { return v.Range }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } +// The default value for this parameter. func (o SqlQueryParameterDatetimesecRangeOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlQueryParameterDatetimesecRange) *string { return v.Value }).(pulumi.StringPtrOutput) } @@ -45156,6 +45240,7 @@ func (o SqlQueryParameterDatetimesecRangePtrOutput) Range() SqlQueryParameterDat }).(SqlQueryParameterDatetimesecRangeRangePtrOutput) } +// The default value for this parameter. func (o SqlQueryParameterDatetimesecRangePtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterDatetimesecRange) *string { if v == nil { @@ -45340,8 +45425,9 @@ func (o SqlQueryParameterDatetimesecRangeRangePtrOutput) Start() pulumi.StringPt type SqlQueryParameterEnum struct { Multiple *SqlQueryParameterEnumMultiple `pulumi:"multiple"` Options []string `pulumi:"options"` - Value *string `pulumi:"value"` - Values []string `pulumi:"values"` + // The default value for this parameter. + Value *string `pulumi:"value"` + Values []string `pulumi:"values"` } // SqlQueryParameterEnumInput is an input type that accepts SqlQueryParameterEnumArgs and SqlQueryParameterEnumOutput values. @@ -45358,8 +45444,9 @@ type SqlQueryParameterEnumInput interface { type SqlQueryParameterEnumArgs struct { Multiple SqlQueryParameterEnumMultiplePtrInput `pulumi:"multiple"` Options pulumi.StringArrayInput `pulumi:"options"` - Value pulumi.StringPtrInput `pulumi:"value"` - Values pulumi.StringArrayInput `pulumi:"values"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` + Values pulumi.StringArrayInput `pulumi:"values"` } func (SqlQueryParameterEnumArgs) ElementType() reflect.Type { @@ -45465,6 +45552,7 @@ func (o SqlQueryParameterEnumOutput) Options() pulumi.StringArrayOutput { return o.ApplyT(func(v SqlQueryParameterEnum) []string { return v.Options }).(pulumi.StringArrayOutput) } +// The default value for this parameter. func (o SqlQueryParameterEnumOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlQueryParameterEnum) *string { return v.Value }).(pulumi.StringPtrOutput) } @@ -45521,6 +45609,7 @@ func (o SqlQueryParameterEnumPtrOutput) Options() pulumi.StringArrayOutput { }).(pulumi.StringArrayOutput) } +// The default value for this parameter. func (o SqlQueryParameterEnumPtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterEnum) *string { if v == nil { @@ -45727,6 +45816,7 @@ func (o SqlQueryParameterEnumMultiplePtrOutput) Suffix() pulumi.StringPtrOutput } type SqlQueryParameterNumber struct { + // The default value for this parameter. Value float64 `pulumi:"value"` } @@ -45742,6 +45832,7 @@ type SqlQueryParameterNumberInput interface { } type SqlQueryParameterNumberArgs struct { + // The default value for this parameter. Value pulumi.Float64Input `pulumi:"value"` } @@ -45840,6 +45931,7 @@ func (o SqlQueryParameterNumberOutput) ToOutput(ctx context.Context) pulumix.Out } } +// The default value for this parameter. func (o SqlQueryParameterNumberOutput) Value() pulumi.Float64Output { return o.ApplyT(func(v SqlQueryParameterNumber) float64 { return v.Value }).(pulumi.Float64Output) } @@ -45874,6 +45966,7 @@ func (o SqlQueryParameterNumberPtrOutput) Elem() SqlQueryParameterNumberOutput { }).(SqlQueryParameterNumberOutput) } +// The default value for this parameter. func (o SqlQueryParameterNumberPtrOutput) Value() pulumi.Float64PtrOutput { return o.ApplyT(func(v *SqlQueryParameterNumber) *float64 { if v == nil { @@ -45886,8 +45979,9 @@ func (o SqlQueryParameterNumberPtrOutput) Value() pulumi.Float64PtrOutput { type SqlQueryParameterQuery struct { Multiple *SqlQueryParameterQueryMultiple `pulumi:"multiple"` QueryId string `pulumi:"queryId"` - Value *string `pulumi:"value"` - Values []string `pulumi:"values"` + // The default value for this parameter. + Value *string `pulumi:"value"` + Values []string `pulumi:"values"` } // SqlQueryParameterQueryInput is an input type that accepts SqlQueryParameterQueryArgs and SqlQueryParameterQueryOutput values. @@ -45904,8 +45998,9 @@ type SqlQueryParameterQueryInput interface { type SqlQueryParameterQueryArgs struct { Multiple SqlQueryParameterQueryMultiplePtrInput `pulumi:"multiple"` QueryId pulumi.StringInput `pulumi:"queryId"` - Value pulumi.StringPtrInput `pulumi:"value"` - Values pulumi.StringArrayInput `pulumi:"values"` + // The default value for this parameter. + Value pulumi.StringPtrInput `pulumi:"value"` + Values pulumi.StringArrayInput `pulumi:"values"` } func (SqlQueryParameterQueryArgs) ElementType() reflect.Type { @@ -46011,6 +46106,7 @@ func (o SqlQueryParameterQueryOutput) QueryId() pulumi.StringOutput { return o.ApplyT(func(v SqlQueryParameterQuery) string { return v.QueryId }).(pulumi.StringOutput) } +// The default value for this parameter. func (o SqlQueryParameterQueryOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlQueryParameterQuery) *string { return v.Value }).(pulumi.StringPtrOutput) } @@ -46067,6 +46163,7 @@ func (o SqlQueryParameterQueryPtrOutput) QueryId() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// The default value for this parameter. func (o SqlQueryParameterQueryPtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterQuery) *string { if v == nil { @@ -46273,6 +46370,7 @@ func (o SqlQueryParameterQueryMultiplePtrOutput) Suffix() pulumi.StringPtrOutput } type SqlQueryParameterText struct { + // The default value for this parameter. Value string `pulumi:"value"` } @@ -46288,6 +46386,7 @@ type SqlQueryParameterTextInput interface { } type SqlQueryParameterTextArgs struct { + // The default value for this parameter. Value pulumi.StringInput `pulumi:"value"` } @@ -46386,6 +46485,7 @@ func (o SqlQueryParameterTextOutput) ToOutput(ctx context.Context) pulumix.Outpu } } +// The default value for this parameter. func (o SqlQueryParameterTextOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v SqlQueryParameterText) string { return v.Value }).(pulumi.StringOutput) } @@ -46420,6 +46520,7 @@ func (o SqlQueryParameterTextPtrOutput) Elem() SqlQueryParameterTextOutput { }).(SqlQueryParameterTextOutput) } +// The default value for this parameter. func (o SqlQueryParameterTextPtrOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQueryParameterText) *string { if v == nil { @@ -69124,6 +69225,7 @@ func (o GetJobJobSettingsSettingsPythonWheelTaskPtrOutput) Parameters() pulumi.S } type GetJobJobSettingsSettingsQueue struct { + Enabled bool `pulumi:"enabled"` } // GetJobJobSettingsSettingsQueueInput is an input type that accepts GetJobJobSettingsSettingsQueueArgs and GetJobJobSettingsSettingsQueueOutput values. @@ -69138,6 +69240,7 @@ type GetJobJobSettingsSettingsQueueInput interface { } type GetJobJobSettingsSettingsQueueArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` } func (GetJobJobSettingsSettingsQueueArgs) ElementType() reflect.Type { @@ -69235,6 +69338,10 @@ func (o GetJobJobSettingsSettingsQueueOutput) ToOutput(ctx context.Context) pulu } } +func (o GetJobJobSettingsSettingsQueueOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobJobSettingsSettingsQueue) bool { return v.Enabled }).(pulumi.BoolOutput) +} + type GetJobJobSettingsSettingsQueuePtrOutput struct{ *pulumi.OutputState } func (GetJobJobSettingsSettingsQueuePtrOutput) ElementType() reflect.Type { @@ -69265,6 +69372,15 @@ func (o GetJobJobSettingsSettingsQueuePtrOutput) Elem() GetJobJobSettingsSetting }).(GetJobJobSettingsSettingsQueueOutput) } +func (o GetJobJobSettingsSettingsQueuePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetJobJobSettingsSettingsQueue) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) +} + type GetJobJobSettingsSettingsRunAs struct { ServicePrincipalName *string `pulumi:"servicePrincipalName"` UserName *string `pulumi:"userName"` diff --git a/sdk/go/databricks/registeredModel.go b/sdk/go/databricks/registeredModel.go new file mode 100644 index 00000000..f75f545a --- /dev/null +++ b/sdk/go/databricks/registeredModel.go @@ -0,0 +1,363 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewRegisteredModel(ctx, "this", &databricks.RegisteredModelArgs{ +// CatalogName: pulumi.String("main"), +// SchemaName: pulumi.String("default"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// ## Access Control +// +// * Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges. +// +// ## Related Resources +// +// The following resources are often used in the same context: +// +// * ModelServing to serve this model on a Databricks serving endpoint. +// * MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. +// * Table data to manage tables within Unity Catalog. +// * Schema data to manage schemas within Unity Catalog. +// * Catalog data to manage catalogs within Unity Catalog. +// +// ## Import +// +// The registered model resource can be imported using the full (3-level) name of the model. bash +// +// ```sh +// +// $ pulumi import databricks:index/registeredModel:RegisteredModel this +// +// ``` +type RegisteredModel struct { + pulumi.CustomResourceState + + // The name of the catalog where the schema and the registered model reside. + CatalogName pulumi.StringOutput `pulumi:"catalogName"` + // The comment attached to the registered model. + Comment pulumi.StringPtrOutput `pulumi:"comment"` + // The name of the registered model. + Name pulumi.StringOutput `pulumi:"name"` + // The name of the schema where the registered model resides. + SchemaName pulumi.StringOutput `pulumi:"schemaName"` + StorageLocation pulumi.StringOutput `pulumi:"storageLocation"` +} + +// NewRegisteredModel registers a new resource with the given unique name, arguments, and options. +func NewRegisteredModel(ctx *pulumi.Context, + name string, args *RegisteredModelArgs, opts ...pulumi.ResourceOption) (*RegisteredModel, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.CatalogName == nil { + return nil, errors.New("invalid value for required argument 'CatalogName'") + } + if args.SchemaName == nil { + return nil, errors.New("invalid value for required argument 'SchemaName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource RegisteredModel + err := ctx.RegisterResource("databricks:index/registeredModel:RegisteredModel", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetRegisteredModel gets an existing RegisteredModel resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetRegisteredModel(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *RegisteredModelState, opts ...pulumi.ResourceOption) (*RegisteredModel, error) { + var resource RegisteredModel + err := ctx.ReadResource("databricks:index/registeredModel:RegisteredModel", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering RegisteredModel resources. +type registeredModelState struct { + // The name of the catalog where the schema and the registered model reside. + CatalogName *string `pulumi:"catalogName"` + // The comment attached to the registered model. + Comment *string `pulumi:"comment"` + // The name of the registered model. + Name *string `pulumi:"name"` + // The name of the schema where the registered model resides. + SchemaName *string `pulumi:"schemaName"` + StorageLocation *string `pulumi:"storageLocation"` +} + +type RegisteredModelState struct { + // The name of the catalog where the schema and the registered model reside. + CatalogName pulumi.StringPtrInput + // The comment attached to the registered model. + Comment pulumi.StringPtrInput + // The name of the registered model. + Name pulumi.StringPtrInput + // The name of the schema where the registered model resides. + SchemaName pulumi.StringPtrInput + StorageLocation pulumi.StringPtrInput +} + +func (RegisteredModelState) ElementType() reflect.Type { + return reflect.TypeOf((*registeredModelState)(nil)).Elem() +} + +type registeredModelArgs struct { + // The name of the catalog where the schema and the registered model reside. + CatalogName string `pulumi:"catalogName"` + // The comment attached to the registered model. + Comment *string `pulumi:"comment"` + // The name of the registered model. + Name *string `pulumi:"name"` + // The name of the schema where the registered model resides. + SchemaName string `pulumi:"schemaName"` + StorageLocation *string `pulumi:"storageLocation"` +} + +// The set of arguments for constructing a RegisteredModel resource. +type RegisteredModelArgs struct { + // The name of the catalog where the schema and the registered model reside. + CatalogName pulumi.StringInput + // The comment attached to the registered model. + Comment pulumi.StringPtrInput + // The name of the registered model. + Name pulumi.StringPtrInput + // The name of the schema where the registered model resides. + SchemaName pulumi.StringInput + StorageLocation pulumi.StringPtrInput +} + +func (RegisteredModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*registeredModelArgs)(nil)).Elem() +} + +type RegisteredModelInput interface { + pulumi.Input + + ToRegisteredModelOutput() RegisteredModelOutput + ToRegisteredModelOutputWithContext(ctx context.Context) RegisteredModelOutput +} + +func (*RegisteredModel) ElementType() reflect.Type { + return reflect.TypeOf((**RegisteredModel)(nil)).Elem() +} + +func (i *RegisteredModel) ToRegisteredModelOutput() RegisteredModelOutput { + return i.ToRegisteredModelOutputWithContext(context.Background()) +} + +func (i *RegisteredModel) ToRegisteredModelOutputWithContext(ctx context.Context) RegisteredModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(RegisteredModelOutput) +} + +func (i *RegisteredModel) ToOutput(ctx context.Context) pulumix.Output[*RegisteredModel] { + return pulumix.Output[*RegisteredModel]{ + OutputState: i.ToRegisteredModelOutputWithContext(ctx).OutputState, + } +} + +// RegisteredModelArrayInput is an input type that accepts RegisteredModelArray and RegisteredModelArrayOutput values. +// You can construct a concrete instance of `RegisteredModelArrayInput` via: +// +// RegisteredModelArray{ RegisteredModelArgs{...} } +type RegisteredModelArrayInput interface { + pulumi.Input + + ToRegisteredModelArrayOutput() RegisteredModelArrayOutput + ToRegisteredModelArrayOutputWithContext(context.Context) RegisteredModelArrayOutput +} + +type RegisteredModelArray []RegisteredModelInput + +func (RegisteredModelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RegisteredModel)(nil)).Elem() +} + +func (i RegisteredModelArray) ToRegisteredModelArrayOutput() RegisteredModelArrayOutput { + return i.ToRegisteredModelArrayOutputWithContext(context.Background()) +} + +func (i RegisteredModelArray) ToRegisteredModelArrayOutputWithContext(ctx context.Context) RegisteredModelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RegisteredModelArrayOutput) +} + +func (i RegisteredModelArray) ToOutput(ctx context.Context) pulumix.Output[[]*RegisteredModel] { + return pulumix.Output[[]*RegisteredModel]{ + OutputState: i.ToRegisteredModelArrayOutputWithContext(ctx).OutputState, + } +} + +// RegisteredModelMapInput is an input type that accepts RegisteredModelMap and RegisteredModelMapOutput values. +// You can construct a concrete instance of `RegisteredModelMapInput` via: +// +// RegisteredModelMap{ "key": RegisteredModelArgs{...} } +type RegisteredModelMapInput interface { + pulumi.Input + + ToRegisteredModelMapOutput() RegisteredModelMapOutput + ToRegisteredModelMapOutputWithContext(context.Context) RegisteredModelMapOutput +} + +type RegisteredModelMap map[string]RegisteredModelInput + +func (RegisteredModelMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RegisteredModel)(nil)).Elem() +} + +func (i RegisteredModelMap) ToRegisteredModelMapOutput() RegisteredModelMapOutput { + return i.ToRegisteredModelMapOutputWithContext(context.Background()) +} + +func (i RegisteredModelMap) ToRegisteredModelMapOutputWithContext(ctx context.Context) RegisteredModelMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RegisteredModelMapOutput) +} + +func (i RegisteredModelMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RegisteredModel] { + return pulumix.Output[map[string]*RegisteredModel]{ + OutputState: i.ToRegisteredModelMapOutputWithContext(ctx).OutputState, + } +} + +type RegisteredModelOutput struct{ *pulumi.OutputState } + +func (RegisteredModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RegisteredModel)(nil)).Elem() +} + +func (o RegisteredModelOutput) ToRegisteredModelOutput() RegisteredModelOutput { + return o +} + +func (o RegisteredModelOutput) ToRegisteredModelOutputWithContext(ctx context.Context) RegisteredModelOutput { + return o +} + +func (o RegisteredModelOutput) ToOutput(ctx context.Context) pulumix.Output[*RegisteredModel] { + return pulumix.Output[*RegisteredModel]{ + OutputState: o.OutputState, + } +} + +// The name of the catalog where the schema and the registered model reside. +func (o RegisteredModelOutput) CatalogName() pulumi.StringOutput { + return o.ApplyT(func(v *RegisteredModel) pulumi.StringOutput { return v.CatalogName }).(pulumi.StringOutput) +} + +// The comment attached to the registered model. +func (o RegisteredModelOutput) Comment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RegisteredModel) pulumi.StringPtrOutput { return v.Comment }).(pulumi.StringPtrOutput) +} + +// The name of the registered model. +func (o RegisteredModelOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *RegisteredModel) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The name of the schema where the registered model resides. +func (o RegisteredModelOutput) SchemaName() pulumi.StringOutput { + return o.ApplyT(func(v *RegisteredModel) pulumi.StringOutput { return v.SchemaName }).(pulumi.StringOutput) +} + +func (o RegisteredModelOutput) StorageLocation() pulumi.StringOutput { + return o.ApplyT(func(v *RegisteredModel) pulumi.StringOutput { return v.StorageLocation }).(pulumi.StringOutput) +} + +type RegisteredModelArrayOutput struct{ *pulumi.OutputState } + +func (RegisteredModelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RegisteredModel)(nil)).Elem() +} + +func (o RegisteredModelArrayOutput) ToRegisteredModelArrayOutput() RegisteredModelArrayOutput { + return o +} + +func (o RegisteredModelArrayOutput) ToRegisteredModelArrayOutputWithContext(ctx context.Context) RegisteredModelArrayOutput { + return o +} + +func (o RegisteredModelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RegisteredModel] { + return pulumix.Output[[]*RegisteredModel]{ + OutputState: o.OutputState, + } +} + +func (o RegisteredModelArrayOutput) Index(i pulumi.IntInput) RegisteredModelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RegisteredModel { + return vs[0].([]*RegisteredModel)[vs[1].(int)] + }).(RegisteredModelOutput) +} + +type RegisteredModelMapOutput struct{ *pulumi.OutputState } + +func (RegisteredModelMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RegisteredModel)(nil)).Elem() +} + +func (o RegisteredModelMapOutput) ToRegisteredModelMapOutput() RegisteredModelMapOutput { + return o +} + +func (o RegisteredModelMapOutput) ToRegisteredModelMapOutputWithContext(ctx context.Context) RegisteredModelMapOutput { + return o +} + +func (o RegisteredModelMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RegisteredModel] { + return pulumix.Output[map[string]*RegisteredModel]{ + OutputState: o.OutputState, + } +} + +func (o RegisteredModelMapOutput) MapIndex(k pulumi.StringInput) RegisteredModelOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RegisteredModel { + return vs[0].(map[string]*RegisteredModel)[vs[1].(string)] + }).(RegisteredModelOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*RegisteredModelInput)(nil)).Elem(), &RegisteredModel{}) + pulumi.RegisterInputType(reflect.TypeOf((*RegisteredModelArrayInput)(nil)).Elem(), RegisteredModelArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RegisteredModelMapInput)(nil)).Elem(), RegisteredModelMap{}) + pulumi.RegisterOutputType(RegisteredModelOutput{}) + pulumi.RegisterOutputType(RegisteredModelArrayOutput{}) + pulumi.RegisterOutputType(RegisteredModelMapOutput{}) +} diff --git a/sdk/go/databricks/schema.go b/sdk/go/databricks/schema.go index 8522bbc6..0a41643a 100644 --- a/sdk/go/databricks/schema.go +++ b/sdk/go/databricks/schema.go @@ -89,7 +89,7 @@ type Schema struct { Owner pulumi.StringOutput `pulumi:"owner"` // Extensible Schema properties. Properties pulumi.MapOutput `pulumi:"properties"` - // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. StorageRoot pulumi.StringPtrOutput `pulumi:"storageRoot"` } @@ -139,7 +139,7 @@ type schemaState struct { Owner *string `pulumi:"owner"` // Extensible Schema properties. Properties map[string]interface{} `pulumi:"properties"` - // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. StorageRoot *string `pulumi:"storageRoot"` } @@ -157,7 +157,7 @@ type SchemaState struct { Owner pulumi.StringPtrInput // Extensible Schema properties. Properties pulumi.MapInput - // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. StorageRoot pulumi.StringPtrInput } @@ -179,7 +179,7 @@ type schemaArgs struct { Owner *string `pulumi:"owner"` // Extensible Schema properties. Properties map[string]interface{} `pulumi:"properties"` - // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. StorageRoot *string `pulumi:"storageRoot"` } @@ -198,7 +198,7 @@ type SchemaArgs struct { Owner pulumi.StringPtrInput // Extensible Schema properties. Properties pulumi.MapInput - // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + // Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. StorageRoot pulumi.StringPtrInput } @@ -347,7 +347,7 @@ func (o SchemaOutput) Properties() pulumi.MapOutput { return o.ApplyT(func(v *Schema) pulumi.MapOutput { return v.Properties }).(pulumi.MapOutput) } -// Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. +// Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. func (o SchemaOutput) StorageRoot() pulumi.StringPtrOutput { return o.ApplyT(func(v *Schema) pulumi.StringPtrOutput { return v.StorageRoot }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/secretAcl.go b/sdk/go/databricks/secretAcl.go index 31dbe020..9d637f42 100644 --- a/sdk/go/databricks/secretAcl.go +++ b/sdk/go/databricks/secretAcl.go @@ -17,7 +17,7 @@ import ( // // ## Example Usage // -// This way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault. +// This way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault. // // ```go // package main @@ -85,7 +85,7 @@ type SecretAcl struct { // `READ`, `WRITE` or `MANAGE`. Permission pulumi.StringOutput `pulumi:"permission"` - // name of the principals. It can be `users` for all users or name or `displayName` of databricks_group + // principal's identifier. It can be: Principal pulumi.StringOutput `pulumi:"principal"` // name of the scope Scope pulumi.StringOutput `pulumi:"scope"` @@ -132,7 +132,7 @@ func GetSecretAcl(ctx *pulumi.Context, type secretAclState struct { // `READ`, `WRITE` or `MANAGE`. Permission *string `pulumi:"permission"` - // name of the principals. It can be `users` for all users or name or `displayName` of databricks_group + // principal's identifier. It can be: Principal *string `pulumi:"principal"` // name of the scope Scope *string `pulumi:"scope"` @@ -141,7 +141,7 @@ type secretAclState struct { type SecretAclState struct { // `READ`, `WRITE` or `MANAGE`. Permission pulumi.StringPtrInput - // name of the principals. It can be `users` for all users or name or `displayName` of databricks_group + // principal's identifier. It can be: Principal pulumi.StringPtrInput // name of the scope Scope pulumi.StringPtrInput @@ -154,7 +154,7 @@ func (SecretAclState) ElementType() reflect.Type { type secretAclArgs struct { // `READ`, `WRITE` or `MANAGE`. Permission string `pulumi:"permission"` - // name of the principals. It can be `users` for all users or name or `displayName` of databricks_group + // principal's identifier. It can be: Principal string `pulumi:"principal"` // name of the scope Scope string `pulumi:"scope"` @@ -164,7 +164,7 @@ type secretAclArgs struct { type SecretAclArgs struct { // `READ`, `WRITE` or `MANAGE`. Permission pulumi.StringInput - // name of the principals. It can be `users` for all users or name or `displayName` of databricks_group + // principal's identifier. It can be: Principal pulumi.StringInput // name of the scope Scope pulumi.StringInput @@ -286,7 +286,7 @@ func (o SecretAclOutput) Permission() pulumi.StringOutput { return o.ApplyT(func(v *SecretAcl) pulumi.StringOutput { return v.Permission }).(pulumi.StringOutput) } -// name of the principals. It can be `users` for all users or name or `displayName` of databricks_group +// principal's identifier. It can be: func (o SecretAclOutput) Principal() pulumi.StringOutput { return o.ApplyT(func(v *SecretAcl) pulumi.StringOutput { return v.Principal }).(pulumi.StringOutput) } diff --git a/sdk/go/databricks/sqlDashboard.go b/sdk/go/databricks/sqlDashboard.go index e54ce879..bb8484cb 100644 --- a/sdk/go/databricks/sqlDashboard.go +++ b/sdk/go/databricks/sqlDashboard.go @@ -110,11 +110,12 @@ import ( type SqlDashboard struct { pulumi.CustomResourceState - CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - Name pulumi.StringOutput `pulumi:"name"` - Parent pulumi.StringPtrOutput `pulumi:"parent"` - Tags pulumi.StringArrayOutput `pulumi:"tags"` - UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + DashboardFiltersEnabled pulumi.BoolPtrOutput `pulumi:"dashboardFiltersEnabled"` + Name pulumi.StringOutput `pulumi:"name"` + Parent pulumi.StringPtrOutput `pulumi:"parent"` + Tags pulumi.StringArrayOutput `pulumi:"tags"` + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` } // NewSqlDashboard registers a new resource with the given unique name, arguments, and options. @@ -147,19 +148,21 @@ func GetSqlDashboard(ctx *pulumi.Context, // Input properties used for looking up and filtering SqlDashboard resources. type sqlDashboardState struct { - CreatedAt *string `pulumi:"createdAt"` - Name *string `pulumi:"name"` - Parent *string `pulumi:"parent"` - Tags []string `pulumi:"tags"` - UpdatedAt *string `pulumi:"updatedAt"` + CreatedAt *string `pulumi:"createdAt"` + DashboardFiltersEnabled *bool `pulumi:"dashboardFiltersEnabled"` + Name *string `pulumi:"name"` + Parent *string `pulumi:"parent"` + Tags []string `pulumi:"tags"` + UpdatedAt *string `pulumi:"updatedAt"` } type SqlDashboardState struct { - CreatedAt pulumi.StringPtrInput - Name pulumi.StringPtrInput - Parent pulumi.StringPtrInput - Tags pulumi.StringArrayInput - UpdatedAt pulumi.StringPtrInput + CreatedAt pulumi.StringPtrInput + DashboardFiltersEnabled pulumi.BoolPtrInput + Name pulumi.StringPtrInput + Parent pulumi.StringPtrInput + Tags pulumi.StringArrayInput + UpdatedAt pulumi.StringPtrInput } func (SqlDashboardState) ElementType() reflect.Type { @@ -167,20 +170,22 @@ func (SqlDashboardState) ElementType() reflect.Type { } type sqlDashboardArgs struct { - CreatedAt *string `pulumi:"createdAt"` - Name *string `pulumi:"name"` - Parent *string `pulumi:"parent"` - Tags []string `pulumi:"tags"` - UpdatedAt *string `pulumi:"updatedAt"` + CreatedAt *string `pulumi:"createdAt"` + DashboardFiltersEnabled *bool `pulumi:"dashboardFiltersEnabled"` + Name *string `pulumi:"name"` + Parent *string `pulumi:"parent"` + Tags []string `pulumi:"tags"` + UpdatedAt *string `pulumi:"updatedAt"` } // The set of arguments for constructing a SqlDashboard resource. type SqlDashboardArgs struct { - CreatedAt pulumi.StringPtrInput - Name pulumi.StringPtrInput - Parent pulumi.StringPtrInput - Tags pulumi.StringArrayInput - UpdatedAt pulumi.StringPtrInput + CreatedAt pulumi.StringPtrInput + DashboardFiltersEnabled pulumi.BoolPtrInput + Name pulumi.StringPtrInput + Parent pulumi.StringPtrInput + Tags pulumi.StringArrayInput + UpdatedAt pulumi.StringPtrInput } func (SqlDashboardArgs) ElementType() reflect.Type { @@ -298,6 +303,10 @@ func (o SqlDashboardOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *SqlDashboard) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } +func (o SqlDashboardOutput) DashboardFiltersEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SqlDashboard) pulumi.BoolPtrOutput { return v.DashboardFiltersEnabled }).(pulumi.BoolPtrOutput) +} + func (o SqlDashboardOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *SqlDashboard) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/go/databricks/sqlQuery.go b/sdk/go/databricks/sqlQuery.go index 1045574f..2a2b6bce 100644 --- a/sdk/go/databricks/sqlQuery.go +++ b/sdk/go/databricks/sqlQuery.go @@ -159,14 +159,20 @@ import ( type SqlQuery struct { pulumi.CustomResourceState - CreatedAt pulumi.StringOutput `pulumi:"createdAt"` - DataSourceId pulumi.StringOutput `pulumi:"dataSourceId"` - Description pulumi.StringPtrOutput `pulumi:"description"` - Name pulumi.StringOutput `pulumi:"name"` - Parameters SqlQueryParameterArrayOutput `pulumi:"parameters"` - Parent pulumi.StringPtrOutput `pulumi:"parent"` - Query pulumi.StringOutput `pulumi:"query"` - RunAsRole pulumi.StringPtrOutput `pulumi:"runAsRole"` + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Data source ID of a SQL warehouse + DataSourceId pulumi.StringOutput `pulumi:"dataSourceId"` + // General description that conveys additional information about this query such as usage notes. + Description pulumi.StringPtrOutput `pulumi:"description"` + // The title of this query that appears in list views, widget headings, and on the query page. + Name pulumi.StringOutput `pulumi:"name"` + Parameters SqlQueryParameterArrayOutput `pulumi:"parameters"` + // The identifier of the workspace folder containing the object. + Parent pulumi.StringPtrOutput `pulumi:"parent"` + // The text of the query to be run. + Query pulumi.StringOutput `pulumi:"query"` + // Run as role. Possible values are `viewer`, `owner`. + RunAsRole pulumi.StringPtrOutput `pulumi:"runAsRole"` // Deprecated: Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`. Schedule SqlQuerySchedulePtrOutput `pulumi:"schedule"` Tags pulumi.StringArrayOutput `pulumi:"tags"` @@ -209,14 +215,20 @@ func GetSqlQuery(ctx *pulumi.Context, // Input properties used for looking up and filtering SqlQuery resources. type sqlQueryState struct { - CreatedAt *string `pulumi:"createdAt"` - DataSourceId *string `pulumi:"dataSourceId"` - Description *string `pulumi:"description"` - Name *string `pulumi:"name"` - Parameters []SqlQueryParameter `pulumi:"parameters"` - Parent *string `pulumi:"parent"` - Query *string `pulumi:"query"` - RunAsRole *string `pulumi:"runAsRole"` + CreatedAt *string `pulumi:"createdAt"` + // Data source ID of a SQL warehouse + DataSourceId *string `pulumi:"dataSourceId"` + // General description that conveys additional information about this query such as usage notes. + Description *string `pulumi:"description"` + // The title of this query that appears in list views, widget headings, and on the query page. + Name *string `pulumi:"name"` + Parameters []SqlQueryParameter `pulumi:"parameters"` + // The identifier of the workspace folder containing the object. + Parent *string `pulumi:"parent"` + // The text of the query to be run. + Query *string `pulumi:"query"` + // Run as role. Possible values are `viewer`, `owner`. + RunAsRole *string `pulumi:"runAsRole"` // Deprecated: Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`. Schedule *SqlQuerySchedule `pulumi:"schedule"` Tags []string `pulumi:"tags"` @@ -224,14 +236,20 @@ type sqlQueryState struct { } type SqlQueryState struct { - CreatedAt pulumi.StringPtrInput + CreatedAt pulumi.StringPtrInput + // Data source ID of a SQL warehouse DataSourceId pulumi.StringPtrInput - Description pulumi.StringPtrInput - Name pulumi.StringPtrInput - Parameters SqlQueryParameterArrayInput - Parent pulumi.StringPtrInput - Query pulumi.StringPtrInput - RunAsRole pulumi.StringPtrInput + // General description that conveys additional information about this query such as usage notes. + Description pulumi.StringPtrInput + // The title of this query that appears in list views, widget headings, and on the query page. + Name pulumi.StringPtrInput + Parameters SqlQueryParameterArrayInput + // The identifier of the workspace folder containing the object. + Parent pulumi.StringPtrInput + // The text of the query to be run. + Query pulumi.StringPtrInput + // Run as role. Possible values are `viewer`, `owner`. + RunAsRole pulumi.StringPtrInput // Deprecated: Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`. Schedule SqlQuerySchedulePtrInput Tags pulumi.StringArrayInput @@ -243,14 +261,20 @@ func (SqlQueryState) ElementType() reflect.Type { } type sqlQueryArgs struct { - CreatedAt *string `pulumi:"createdAt"` - DataSourceId string `pulumi:"dataSourceId"` - Description *string `pulumi:"description"` - Name *string `pulumi:"name"` - Parameters []SqlQueryParameter `pulumi:"parameters"` - Parent *string `pulumi:"parent"` - Query string `pulumi:"query"` - RunAsRole *string `pulumi:"runAsRole"` + CreatedAt *string `pulumi:"createdAt"` + // Data source ID of a SQL warehouse + DataSourceId string `pulumi:"dataSourceId"` + // General description that conveys additional information about this query such as usage notes. + Description *string `pulumi:"description"` + // The title of this query that appears in list views, widget headings, and on the query page. + Name *string `pulumi:"name"` + Parameters []SqlQueryParameter `pulumi:"parameters"` + // The identifier of the workspace folder containing the object. + Parent *string `pulumi:"parent"` + // The text of the query to be run. + Query string `pulumi:"query"` + // Run as role. Possible values are `viewer`, `owner`. + RunAsRole *string `pulumi:"runAsRole"` // Deprecated: Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`. Schedule *SqlQuerySchedule `pulumi:"schedule"` Tags []string `pulumi:"tags"` @@ -259,14 +283,20 @@ type sqlQueryArgs struct { // The set of arguments for constructing a SqlQuery resource. type SqlQueryArgs struct { - CreatedAt pulumi.StringPtrInput + CreatedAt pulumi.StringPtrInput + // Data source ID of a SQL warehouse DataSourceId pulumi.StringInput - Description pulumi.StringPtrInput - Name pulumi.StringPtrInput - Parameters SqlQueryParameterArrayInput - Parent pulumi.StringPtrInput - Query pulumi.StringInput - RunAsRole pulumi.StringPtrInput + // General description that conveys additional information about this query such as usage notes. + Description pulumi.StringPtrInput + // The title of this query that appears in list views, widget headings, and on the query page. + Name pulumi.StringPtrInput + Parameters SqlQueryParameterArrayInput + // The identifier of the workspace folder containing the object. + Parent pulumi.StringPtrInput + // The text of the query to be run. + Query pulumi.StringInput + // Run as role. Possible values are `viewer`, `owner`. + RunAsRole pulumi.StringPtrInput // Deprecated: Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`. Schedule SqlQuerySchedulePtrInput Tags pulumi.StringArrayInput @@ -388,14 +418,17 @@ func (o SqlQueryOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *SqlQuery) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) } +// Data source ID of a SQL warehouse func (o SqlQueryOutput) DataSourceId() pulumi.StringOutput { return o.ApplyT(func(v *SqlQuery) pulumi.StringOutput { return v.DataSourceId }).(pulumi.StringOutput) } +// General description that conveys additional information about this query such as usage notes. func (o SqlQueryOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQuery) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } +// The title of this query that appears in list views, widget headings, and on the query page. func (o SqlQueryOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *SqlQuery) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } @@ -404,14 +437,17 @@ func (o SqlQueryOutput) Parameters() SqlQueryParameterArrayOutput { return o.ApplyT(func(v *SqlQuery) SqlQueryParameterArrayOutput { return v.Parameters }).(SqlQueryParameterArrayOutput) } +// The identifier of the workspace folder containing the object. func (o SqlQueryOutput) Parent() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQuery) pulumi.StringPtrOutput { return v.Parent }).(pulumi.StringPtrOutput) } +// The text of the query to be run. func (o SqlQueryOutput) Query() pulumi.StringOutput { return o.ApplyT(func(v *SqlQuery) pulumi.StringOutput { return v.Query }).(pulumi.StringOutput) } +// Run as role. Possible values are `viewer`, `owner`. func (o SqlQueryOutput) RunAsRole() pulumi.StringPtrOutput { return o.ApplyT(func(v *SqlQuery) pulumi.StringPtrOutput { return v.RunAsRole }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/databricks/systemSchema.go b/sdk/go/databricks/systemSchema.go new file mode 100644 index 00000000..ee724fc0 --- /dev/null +++ b/sdk/go/databricks/systemSchema.go @@ -0,0 +1,318 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package databricks + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-databricks/sdk/go/databricks/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). +// +// > **Notes** +// +// Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future. +// +// Manages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin. +// +// ## Example Usage +// +// Enable the system schema `access` +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-databricks/sdk/go/databricks" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := databricks.NewSystemSchema(ctx, "this", &databricks.SystemSchemaArgs{ +// Schema: pulumi.String("access"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// # This resource can be imported by the metastore id and schema name bash +// +// ```sh +// +// $ pulumi import databricks:index/systemSchema:SystemSchema this | +// +// ``` +type SystemSchema struct { + pulumi.CustomResourceState + + MetastoreId pulumi.StringOutput `pulumi:"metastoreId"` + // Full name of the system schema. + Schema pulumi.StringPtrOutput `pulumi:"schema"` + // The current state of enablement for the system schema. + State pulumi.StringOutput `pulumi:"state"` +} + +// NewSystemSchema registers a new resource with the given unique name, arguments, and options. +func NewSystemSchema(ctx *pulumi.Context, + name string, args *SystemSchemaArgs, opts ...pulumi.ResourceOption) (*SystemSchema, error) { + if args == nil { + args = &SystemSchemaArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource SystemSchema + err := ctx.RegisterResource("databricks:index/systemSchema:SystemSchema", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSystemSchema gets an existing SystemSchema resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetSystemSchema(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SystemSchemaState, opts ...pulumi.ResourceOption) (*SystemSchema, error) { + var resource SystemSchema + err := ctx.ReadResource("databricks:index/systemSchema:SystemSchema", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SystemSchema resources. +type systemSchemaState struct { + MetastoreId *string `pulumi:"metastoreId"` + // Full name of the system schema. + Schema *string `pulumi:"schema"` + // The current state of enablement for the system schema. + State *string `pulumi:"state"` +} + +type SystemSchemaState struct { + MetastoreId pulumi.StringPtrInput + // Full name of the system schema. + Schema pulumi.StringPtrInput + // The current state of enablement for the system schema. + State pulumi.StringPtrInput +} + +func (SystemSchemaState) ElementType() reflect.Type { + return reflect.TypeOf((*systemSchemaState)(nil)).Elem() +} + +type systemSchemaArgs struct { + // Full name of the system schema. + Schema *string `pulumi:"schema"` + // The current state of enablement for the system schema. + State *string `pulumi:"state"` +} + +// The set of arguments for constructing a SystemSchema resource. +type SystemSchemaArgs struct { + // Full name of the system schema. + Schema pulumi.StringPtrInput + // The current state of enablement for the system schema. + State pulumi.StringPtrInput +} + +func (SystemSchemaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*systemSchemaArgs)(nil)).Elem() +} + +type SystemSchemaInput interface { + pulumi.Input + + ToSystemSchemaOutput() SystemSchemaOutput + ToSystemSchemaOutputWithContext(ctx context.Context) SystemSchemaOutput +} + +func (*SystemSchema) ElementType() reflect.Type { + return reflect.TypeOf((**SystemSchema)(nil)).Elem() +} + +func (i *SystemSchema) ToSystemSchemaOutput() SystemSchemaOutput { + return i.ToSystemSchemaOutputWithContext(context.Background()) +} + +func (i *SystemSchema) ToSystemSchemaOutputWithContext(ctx context.Context) SystemSchemaOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemSchemaOutput) +} + +func (i *SystemSchema) ToOutput(ctx context.Context) pulumix.Output[*SystemSchema] { + return pulumix.Output[*SystemSchema]{ + OutputState: i.ToSystemSchemaOutputWithContext(ctx).OutputState, + } +} + +// SystemSchemaArrayInput is an input type that accepts SystemSchemaArray and SystemSchemaArrayOutput values. +// You can construct a concrete instance of `SystemSchemaArrayInput` via: +// +// SystemSchemaArray{ SystemSchemaArgs{...} } +type SystemSchemaArrayInput interface { + pulumi.Input + + ToSystemSchemaArrayOutput() SystemSchemaArrayOutput + ToSystemSchemaArrayOutputWithContext(context.Context) SystemSchemaArrayOutput +} + +type SystemSchemaArray []SystemSchemaInput + +func (SystemSchemaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SystemSchema)(nil)).Elem() +} + +func (i SystemSchemaArray) ToSystemSchemaArrayOutput() SystemSchemaArrayOutput { + return i.ToSystemSchemaArrayOutputWithContext(context.Background()) +} + +func (i SystemSchemaArray) ToSystemSchemaArrayOutputWithContext(ctx context.Context) SystemSchemaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemSchemaArrayOutput) +} + +func (i SystemSchemaArray) ToOutput(ctx context.Context) pulumix.Output[[]*SystemSchema] { + return pulumix.Output[[]*SystemSchema]{ + OutputState: i.ToSystemSchemaArrayOutputWithContext(ctx).OutputState, + } +} + +// SystemSchemaMapInput is an input type that accepts SystemSchemaMap and SystemSchemaMapOutput values. +// You can construct a concrete instance of `SystemSchemaMapInput` via: +// +// SystemSchemaMap{ "key": SystemSchemaArgs{...} } +type SystemSchemaMapInput interface { + pulumi.Input + + ToSystemSchemaMapOutput() SystemSchemaMapOutput + ToSystemSchemaMapOutputWithContext(context.Context) SystemSchemaMapOutput +} + +type SystemSchemaMap map[string]SystemSchemaInput + +func (SystemSchemaMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SystemSchema)(nil)).Elem() +} + +func (i SystemSchemaMap) ToSystemSchemaMapOutput() SystemSchemaMapOutput { + return i.ToSystemSchemaMapOutputWithContext(context.Background()) +} + +func (i SystemSchemaMap) ToSystemSchemaMapOutputWithContext(ctx context.Context) SystemSchemaMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SystemSchemaMapOutput) +} + +func (i SystemSchemaMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SystemSchema] { + return pulumix.Output[map[string]*SystemSchema]{ + OutputState: i.ToSystemSchemaMapOutputWithContext(ctx).OutputState, + } +} + +type SystemSchemaOutput struct{ *pulumi.OutputState } + +func (SystemSchemaOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SystemSchema)(nil)).Elem() +} + +func (o SystemSchemaOutput) ToSystemSchemaOutput() SystemSchemaOutput { + return o +} + +func (o SystemSchemaOutput) ToSystemSchemaOutputWithContext(ctx context.Context) SystemSchemaOutput { + return o +} + +func (o SystemSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[*SystemSchema] { + return pulumix.Output[*SystemSchema]{ + OutputState: o.OutputState, + } +} + +func (o SystemSchemaOutput) MetastoreId() pulumi.StringOutput { + return o.ApplyT(func(v *SystemSchema) pulumi.StringOutput { return v.MetastoreId }).(pulumi.StringOutput) +} + +// Full name of the system schema. +func (o SystemSchemaOutput) Schema() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SystemSchema) pulumi.StringPtrOutput { return v.Schema }).(pulumi.StringPtrOutput) +} + +// The current state of enablement for the system schema. +func (o SystemSchemaOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *SystemSchema) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +type SystemSchemaArrayOutput struct{ *pulumi.OutputState } + +func (SystemSchemaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SystemSchema)(nil)).Elem() +} + +func (o SystemSchemaArrayOutput) ToSystemSchemaArrayOutput() SystemSchemaArrayOutput { + return o +} + +func (o SystemSchemaArrayOutput) ToSystemSchemaArrayOutputWithContext(ctx context.Context) SystemSchemaArrayOutput { + return o +} + +func (o SystemSchemaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SystemSchema] { + return pulumix.Output[[]*SystemSchema]{ + OutputState: o.OutputState, + } +} + +func (o SystemSchemaArrayOutput) Index(i pulumi.IntInput) SystemSchemaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SystemSchema { + return vs[0].([]*SystemSchema)[vs[1].(int)] + }).(SystemSchemaOutput) +} + +type SystemSchemaMapOutput struct{ *pulumi.OutputState } + +func (SystemSchemaMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SystemSchema)(nil)).Elem() +} + +func (o SystemSchemaMapOutput) ToSystemSchemaMapOutput() SystemSchemaMapOutput { + return o +} + +func (o SystemSchemaMapOutput) ToSystemSchemaMapOutputWithContext(ctx context.Context) SystemSchemaMapOutput { + return o +} + +func (o SystemSchemaMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SystemSchema] { + return pulumix.Output[map[string]*SystemSchema]{ + OutputState: o.OutputState, + } +} + +func (o SystemSchemaMapOutput) MapIndex(k pulumi.StringInput) SystemSchemaOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SystemSchema { + return vs[0].(map[string]*SystemSchema)[vs[1].(string)] + }).(SystemSchemaOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SystemSchemaInput)(nil)).Elem(), &SystemSchema{}) + pulumi.RegisterInputType(reflect.TypeOf((*SystemSchemaArrayInput)(nil)).Elem(), SystemSchemaArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SystemSchemaMapInput)(nil)).Elem(), SystemSchemaMap{}) + pulumi.RegisterOutputType(SystemSchemaOutput{}) + pulumi.RegisterOutputType(SystemSchemaArrayOutput{}) + pulumi.RegisterOutputType(SystemSchemaMapOutput{}) +} diff --git a/sdk/go/databricks/user.go b/sdk/go/databricks/user.go index 1d555915..0af983ec 100644 --- a/sdk/go/databricks/user.go +++ b/sdk/go/databricks/user.go @@ -233,7 +233,7 @@ type User struct { Home pulumi.StringOutput `pulumi:"home"` // Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`. Repos pulumi.StringOutput `pulumi:"repos"` - // This is the username of the given user and will be their form of access and identity. + // This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. UserName pulumi.StringOutput `pulumi:"userName"` WorkspaceAccess pulumi.BoolPtrOutput `pulumi:"workspaceAccess"` } @@ -296,7 +296,7 @@ type userState struct { Home *string `pulumi:"home"` // Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`. Repos *string `pulumi:"repos"` - // This is the username of the given user and will be their form of access and identity. + // This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. UserName *string `pulumi:"userName"` WorkspaceAccess *bool `pulumi:"workspaceAccess"` } @@ -327,7 +327,7 @@ type UserState struct { Home pulumi.StringPtrInput // Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`. Repos pulumi.StringPtrInput - // This is the username of the given user and will be their form of access and identity. + // This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. UserName pulumi.StringPtrInput WorkspaceAccess pulumi.BoolPtrInput } @@ -362,7 +362,7 @@ type userArgs struct { Home *string `pulumi:"home"` // Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`. Repos *string `pulumi:"repos"` - // This is the username of the given user and will be their form of access and identity. + // This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. UserName string `pulumi:"userName"` WorkspaceAccess *bool `pulumi:"workspaceAccess"` } @@ -394,7 +394,7 @@ type UserArgs struct { Home pulumi.StringPtrInput // Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`. Repos pulumi.StringPtrInput - // This is the username of the given user and will be their form of access and identity. + // This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. UserName pulumi.StringInput WorkspaceAccess pulumi.BoolPtrInput } @@ -574,7 +574,7 @@ func (o UserOutput) Repos() pulumi.StringOutput { return o.ApplyT(func(v *User) pulumi.StringOutput { return v.Repos }).(pulumi.StringOutput) } -// This is the username of the given user and will be their form of access and identity. +// This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. func (o UserOutput) UserName() pulumi.StringOutput { return o.ApplyT(func(v *User) pulumi.StringOutput { return v.UserName }).(pulumi.StringOutput) } diff --git a/sdk/go/databricks/volume.go b/sdk/go/databricks/volume.go index 920716ff..2719d032 100644 --- a/sdk/go/databricks/volume.go +++ b/sdk/go/databricks/volume.go @@ -124,9 +124,9 @@ type Volume struct { Owner pulumi.StringOutput `pulumi:"owner"` // Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. SchemaName pulumi.StringOutput `pulumi:"schemaName"` - // Path inside an External Location. Only used for `EXTERNAL` Volumes. + // Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. StorageLocation pulumi.StringPtrOutput `pulumi:"storageLocation"` - // Volume type. `EXTERNAL` or `MANAGED`. + // Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. VolumeType pulumi.StringOutput `pulumi:"volumeType"` } @@ -179,9 +179,9 @@ type volumeState struct { Owner *string `pulumi:"owner"` // Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. SchemaName *string `pulumi:"schemaName"` - // Path inside an External Location. Only used for `EXTERNAL` Volumes. + // Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. StorageLocation *string `pulumi:"storageLocation"` - // Volume type. `EXTERNAL` or `MANAGED`. + // Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. VolumeType *string `pulumi:"volumeType"` } @@ -196,9 +196,9 @@ type VolumeState struct { Owner pulumi.StringPtrInput // Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. SchemaName pulumi.StringPtrInput - // Path inside an External Location. Only used for `EXTERNAL` Volumes. + // Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. StorageLocation pulumi.StringPtrInput - // Volume type. `EXTERNAL` or `MANAGED`. + // Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. VolumeType pulumi.StringPtrInput } @@ -217,9 +217,9 @@ type volumeArgs struct { Owner *string `pulumi:"owner"` // Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. SchemaName string `pulumi:"schemaName"` - // Path inside an External Location. Only used for `EXTERNAL` Volumes. + // Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. StorageLocation *string `pulumi:"storageLocation"` - // Volume type. `EXTERNAL` or `MANAGED`. + // Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. VolumeType string `pulumi:"volumeType"` } @@ -235,9 +235,9 @@ type VolumeArgs struct { Owner pulumi.StringPtrInput // Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. SchemaName pulumi.StringInput - // Path inside an External Location. Only used for `EXTERNAL` Volumes. + // Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. StorageLocation pulumi.StringPtrInput - // Volume type. `EXTERNAL` or `MANAGED`. + // Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. VolumeType pulumi.StringInput } @@ -377,12 +377,12 @@ func (o VolumeOutput) SchemaName() pulumi.StringOutput { return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.SchemaName }).(pulumi.StringOutput) } -// Path inside an External Location. Only used for `EXTERNAL` Volumes. +// Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. func (o VolumeOutput) StorageLocation() pulumi.StringPtrOutput { return o.ApplyT(func(v *Volume) pulumi.StringPtrOutput { return v.StorageLocation }).(pulumi.StringPtrOutput) } -// Volume type. `EXTERNAL` or `MANAGED`. +// Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. func (o VolumeOutput) VolumeType() pulumi.StringOutput { return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.VolumeType }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java b/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java index 8718f329..636fc59f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Cluster.java @@ -99,12 +99,6 @@ public Output clusterId() { public Output> clusterLogConf() { return Codegen.optional(this.clusterLogConf); } - /** - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ @Export(name="clusterMountInfos", type=List.class, parameters={ClusterClusterMountInfo.class}) private Output> clusterMountInfos; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java index 2e5ab9bd..146b9846 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ClusterArgs.java @@ -95,21 +95,9 @@ public Optional> clusterLogConf() { return Optional.ofNullable(this.clusterLogConf); } - /** - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ @Import(name="clusterMountInfos") private @Nullable Output> clusterMountInfos; - /** - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ public Optional>> clusterMountInfos() { return Optional.ofNullable(this.clusterMountInfos); } @@ -676,39 +664,15 @@ public Builder clusterLogConf(ClusterClusterLogConfArgs clusterLogConf) { return clusterLogConf(Output.of(clusterLogConf)); } - /** - * @return builder - * - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ public Builder clusterMountInfos(@Nullable Output> clusterMountInfos) { $.clusterMountInfos = clusterMountInfos; return this; } - /** - * @return builder - * - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ public Builder clusterMountInfos(List clusterMountInfos) { return clusterMountInfos(Output.of(clusterMountInfos)); } - /** - * @return builder - * - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ public Builder clusterMountInfos(ClusterClusterMountInfoArgs... clusterMountInfos) { return clusterMountInfos(List.of(clusterMountInfos)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Grants.java b/sdk/java/src/main/java/com/pulumi/databricks/Grants.java index b893f062..0bb15294 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Grants.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Grants.java @@ -60,6 +60,12 @@ public Output> materializedView() { public Output> metastore() { return Codegen.optional(this.metastore); } + @Export(name="model", type=String.class, parameters={}) + private Output model; + + public Output> model() { + return Codegen.optional(this.model); + } @Export(name="schema", type=String.class, parameters={}) private Output schema; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/GrantsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/GrantsArgs.java index 45fcf122..9b655598 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/GrantsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/GrantsArgs.java @@ -66,6 +66,13 @@ public Optional> metastore() { return Optional.ofNullable(this.metastore); } + @Import(name="model") + private @Nullable Output model; + + public Optional> model() { + return Optional.ofNullable(this.model); + } + @Import(name="schema") private @Nullable Output schema; @@ -118,6 +125,7 @@ private GrantsArgs(GrantsArgs $) { this.grants = $.grants; this.materializedView = $.materializedView; this.metastore = $.metastore; + this.model = $.model; this.schema = $.schema; this.share = $.share; this.storageCredential = $.storageCredential; @@ -211,6 +219,15 @@ public Builder metastore(String metastore) { return metastore(Output.of(metastore)); } + public Builder model(@Nullable Output model) { + $.model = model; + return this; + } + + public Builder model(String model) { + return model(Output.of(model)); + } + public Builder schema(@Nullable Output schema) { $.schema = schema; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MlflowExperiment.java b/sdk/java/src/main/java/com/pulumi/databricks/MlflowExperiment.java index 94a37298..3d507039 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MlflowExperiment.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MlflowExperiment.java @@ -59,9 +59,10 @@ * * The following resources are often used in the same context: * + * * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * * End to end workspace management guide. * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + * * databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * * databricks.Notebook data to export a notebook from Databricks Workspace. * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/java/src/main/java/com/pulumi/databricks/MlflowModel.java b/sdk/java/src/main/java/com/pulumi/databricks/MlflowModel.java index d1fe4c0e..9d686ae0 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/MlflowModel.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/MlflowModel.java @@ -20,6 +20,8 @@ /** * This resource allows you to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. * + * **Note** This documentation covers the Workspace Model Registry. Databricks recommends using Models in Unity Catalog. Models in Unity Catalog provides centralized model governance, cross-workspace access, lineage, and deployment. + * * ## Example Usage * ```java * package generated_program; @@ -67,6 +69,7 @@ * * The following resources are often used in the same context: * + * * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * * End to end workspace management guide. * * databricks.ModelServing to serve this model on a Databricks serving endpoint. * * databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). diff --git a/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java b/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java index af12e4fe..cd00c50d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/ModelServing.java @@ -86,9 +86,10 @@ * * The following resources are often used in the same context: * + * * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * * End to end workspace management guide. * * databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + * * databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * * databricks.Notebook data to export a notebook from Databricks Workspace. * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModel.java b/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModel.java new file mode 100644 index 00000000..75cc220c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModel.java @@ -0,0 +1,186 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.databricks.RegisteredModelArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.RegisteredModelState; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.databricks.RegisteredModel; + * import com.pulumi.databricks.RegisteredModelArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var this_ = new RegisteredModel("this", RegisteredModelArgs.builder() + * .catalogName("main") + * .schemaName("default") + * .build()); + * + * } + * } + * ``` + * ## Access Control + * + * * databricks.Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges. + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. + * * databricks.Table data to manage tables within Unity Catalog. + * * databricks.Schema data to manage schemas within Unity Catalog. + * * databricks.Catalog data to manage catalogs within Unity Catalog. + * + * ## Import + * + * The registered model resource can be imported using the full (3-level) name of the model. bash + * + * ```sh + * $ pulumi import databricks:index/registeredModel:RegisteredModel this <catalog_name.schema_name.model_name> + * ``` + * + */ +@ResourceType(type="databricks:index/registeredModel:RegisteredModel") +public class RegisteredModel extends com.pulumi.resources.CustomResource { + /** + * The name of the catalog where the schema and the registered model reside. + * + */ + @Export(name="catalogName", type=String.class, parameters={}) + private Output catalogName; + + /** + * @return The name of the catalog where the schema and the registered model reside. + * + */ + public Output catalogName() { + return this.catalogName; + } + /** + * The comment attached to the registered model. + * + */ + @Export(name="comment", type=String.class, parameters={}) + private Output comment; + + /** + * @return The comment attached to the registered model. + * + */ + public Output> comment() { + return Codegen.optional(this.comment); + } + /** + * The name of the registered model. + * + */ + @Export(name="name", type=String.class, parameters={}) + private Output name; + + /** + * @return The name of the registered model. + * + */ + public Output name() { + return this.name; + } + /** + * The name of the schema where the registered model resides. + * + */ + @Export(name="schemaName", type=String.class, parameters={}) + private Output schemaName; + + /** + * @return The name of the schema where the registered model resides. + * + */ + public Output schemaName() { + return this.schemaName; + } + @Export(name="storageLocation", type=String.class, parameters={}) + private Output storageLocation; + + public Output storageLocation() { + return this.storageLocation; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public RegisteredModel(String name) { + this(name, RegisteredModelArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public RegisteredModel(String name, RegisteredModelArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public RegisteredModel(String name, RegisteredModelArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/registeredModel:RegisteredModel", name, args == null ? RegisteredModelArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private RegisteredModel(String name, Output id, @Nullable RegisteredModelState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/registeredModel:RegisteredModel", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static RegisteredModel get(String name, Output id, @Nullable RegisteredModelState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new RegisteredModel(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModelArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModelArgs.java new file mode 100644 index 00000000..4fd85d92 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/RegisteredModelArgs.java @@ -0,0 +1,213 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RegisteredModelArgs extends com.pulumi.resources.ResourceArgs { + + public static final RegisteredModelArgs Empty = new RegisteredModelArgs(); + + /** + * The name of the catalog where the schema and the registered model reside. + * + */ + @Import(name="catalogName", required=true) + private Output catalogName; + + /** + * @return The name of the catalog where the schema and the registered model reside. + * + */ + public Output catalogName() { + return this.catalogName; + } + + /** + * The comment attached to the registered model. + * + */ + @Import(name="comment") + private @Nullable Output comment; + + /** + * @return The comment attached to the registered model. + * + */ + public Optional> comment() { + return Optional.ofNullable(this.comment); + } + + /** + * The name of the registered model. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the registered model. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The name of the schema where the registered model resides. + * + */ + @Import(name="schemaName", required=true) + private Output schemaName; + + /** + * @return The name of the schema where the registered model resides. + * + */ + public Output schemaName() { + return this.schemaName; + } + + @Import(name="storageLocation") + private @Nullable Output storageLocation; + + public Optional> storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + + private RegisteredModelArgs() {} + + private RegisteredModelArgs(RegisteredModelArgs $) { + this.catalogName = $.catalogName; + this.comment = $.comment; + this.name = $.name; + this.schemaName = $.schemaName; + this.storageLocation = $.storageLocation; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RegisteredModelArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RegisteredModelArgs $; + + public Builder() { + $ = new RegisteredModelArgs(); + } + + public Builder(RegisteredModelArgs defaults) { + $ = new RegisteredModelArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param catalogName The name of the catalog where the schema and the registered model reside. + * + * @return builder + * + */ + public Builder catalogName(Output catalogName) { + $.catalogName = catalogName; + return this; + } + + /** + * @param catalogName The name of the catalog where the schema and the registered model reside. + * + * @return builder + * + */ + public Builder catalogName(String catalogName) { + return catalogName(Output.of(catalogName)); + } + + /** + * @param comment The comment attached to the registered model. + * + * @return builder + * + */ + public Builder comment(@Nullable Output comment) { + $.comment = comment; + return this; + } + + /** + * @param comment The comment attached to the registered model. + * + * @return builder + * + */ + public Builder comment(String comment) { + return comment(Output.of(comment)); + } + + /** + * @param name The name of the registered model. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the registered model. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param schemaName The name of the schema where the registered model resides. + * + * @return builder + * + */ + public Builder schemaName(Output schemaName) { + $.schemaName = schemaName; + return this; + } + + /** + * @param schemaName The name of the schema where the registered model resides. + * + * @return builder + * + */ + public Builder schemaName(String schemaName) { + return schemaName(Output.of(schemaName)); + } + + public Builder storageLocation(@Nullable Output storageLocation) { + $.storageLocation = storageLocation; + return this; + } + + public Builder storageLocation(String storageLocation) { + return storageLocation(Output.of(storageLocation)); + } + + public RegisteredModelArgs build() { + $.catalogName = Objects.requireNonNull($.catalogName, "expected parameter 'catalogName' to be non-null"); + $.schemaName = Objects.requireNonNull($.schemaName, "expected parameter 'schemaName' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Schema.java b/sdk/java/src/main/java/com/pulumi/databricks/Schema.java index 58dc1788..cb159bfa 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Schema.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Schema.java @@ -171,14 +171,14 @@ public Output>> properties() { return Codegen.optional(this.properties); } /** - * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * */ @Export(name="storageRoot", type=String.class, parameters={}) private Output storageRoot; /** - * @return Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * @return Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * */ public Output> storageRoot() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SchemaArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/SchemaArgs.java index 01788477..9ff09c33 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SchemaArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SchemaArgs.java @@ -116,14 +116,14 @@ public Optional>> properties() { } /** - * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * */ @Import(name="storageRoot") private @Nullable Output storageRoot; /** - * @return Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * @return Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * */ public Optional> storageRoot() { @@ -297,7 +297,7 @@ public Builder properties(Map properties) { } /** - * @param storageRoot Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * @param storageRoot Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * * @return builder * @@ -308,7 +308,7 @@ public Builder storageRoot(@Nullable Output storageRoot) { } /** - * @param storageRoot Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * @param storageRoot Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SecretAcl.java b/sdk/java/src/main/java/com/pulumi/databricks/SecretAcl.java index f5ecd999..2b34acda 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SecretAcl.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SecretAcl.java @@ -18,7 +18,7 @@ * * ## Example Usage * - * This way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault. + * This way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault. * ```java * package generated_program; * @@ -100,14 +100,14 @@ public Output permission() { return this.permission; } /** - * name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * principal's identifier. It can be: * */ @Export(name="principal", type=String.class, parameters={}) private Output principal; /** - * @return name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * @return principal's identifier. It can be: * */ public Output principal() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SecretAclArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/SecretAclArgs.java index 7eeb7508..4d72034b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SecretAclArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SecretAclArgs.java @@ -29,14 +29,14 @@ public Output permission() { } /** - * name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * principal's identifier. It can be: * */ @Import(name="principal", required=true) private Output principal; /** - * @return name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * @return principal's identifier. It can be: * */ public Output principal() { @@ -106,7 +106,7 @@ public Builder permission(String permission) { } /** - * @param principal name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * @param principal principal's identifier. It can be: * * @return builder * @@ -117,7 +117,7 @@ public Builder principal(Output principal) { } /** - * @param principal name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * @param principal principal's identifier. It can be: * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SqlDashboard.java b/sdk/java/src/main/java/com/pulumi/databricks/SqlDashboard.java index 26e3116d..877549b2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SqlDashboard.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SqlDashboard.java @@ -10,6 +10,7 @@ import com.pulumi.databricks.SqlDashboardArgs; import com.pulumi.databricks.Utilities; import com.pulumi.databricks.inputs.SqlDashboardState; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Optional; @@ -121,6 +122,12 @@ public class SqlDashboard extends com.pulumi.resources.CustomResource { public Output createdAt() { return this.createdAt; } + @Export(name="dashboardFiltersEnabled", type=Boolean.class, parameters={}) + private Output dashboardFiltersEnabled; + + public Output> dashboardFiltersEnabled() { + return Codegen.optional(this.dashboardFiltersEnabled); + } @Export(name="name", type=String.class, parameters={}) private Output name; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SqlDashboardArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/SqlDashboardArgs.java index c244a080..4255986d 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SqlDashboardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SqlDashboardArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -23,6 +24,13 @@ public Optional> createdAt() { return Optional.ofNullable(this.createdAt); } + @Import(name="dashboardFiltersEnabled") + private @Nullable Output dashboardFiltersEnabled; + + public Optional> dashboardFiltersEnabled() { + return Optional.ofNullable(this.dashboardFiltersEnabled); + } + @Import(name="name") private @Nullable Output name; @@ -55,6 +63,7 @@ private SqlDashboardArgs() {} private SqlDashboardArgs(SqlDashboardArgs $) { this.createdAt = $.createdAt; + this.dashboardFiltersEnabled = $.dashboardFiltersEnabled; this.name = $.name; this.parent = $.parent; this.tags = $.tags; @@ -88,6 +97,15 @@ public Builder createdAt(String createdAt) { return createdAt(Output.of(createdAt)); } + public Builder dashboardFiltersEnabled(@Nullable Output dashboardFiltersEnabled) { + $.dashboardFiltersEnabled = dashboardFiltersEnabled; + return this; + } + + public Builder dashboardFiltersEnabled(Boolean dashboardFiltersEnabled) { + return dashboardFiltersEnabled(Output.of(dashboardFiltersEnabled)); + } + public Builder name(@Nullable Output name) { $.name = name; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SqlQuery.java b/sdk/java/src/main/java/com/pulumi/databricks/SqlQuery.java index c107825b..d332af60 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SqlQuery.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SqlQuery.java @@ -180,21 +180,45 @@ public class SqlQuery extends com.pulumi.resources.CustomResource { public Output createdAt() { return this.createdAt; } + /** + * Data source ID of a SQL warehouse + * + */ @Export(name="dataSourceId", type=String.class, parameters={}) private Output dataSourceId; + /** + * @return Data source ID of a SQL warehouse + * + */ public Output dataSourceId() { return this.dataSourceId; } + /** + * General description that conveys additional information about this query such as usage notes. + * + */ @Export(name="description", type=String.class, parameters={}) private Output description; + /** + * @return General description that conveys additional information about this query such as usage notes. + * + */ public Output> description() { return Codegen.optional(this.description); } + /** + * The title of this query that appears in list views, widget headings, and on the query page. + * + */ @Export(name="name", type=String.class, parameters={}) private Output name; + /** + * @return The title of this query that appears in list views, widget headings, and on the query page. + * + */ public Output name() { return this.name; } @@ -204,21 +228,45 @@ public Output name() { public Output>> parameters() { return Codegen.optional(this.parameters); } + /** + * The identifier of the workspace folder containing the object. + * + */ @Export(name="parent", type=String.class, parameters={}) private Output parent; + /** + * @return The identifier of the workspace folder containing the object. + * + */ public Output> parent() { return Codegen.optional(this.parent); } + /** + * The text of the query to be run. + * + */ @Export(name="query", type=String.class, parameters={}) private Output query; + /** + * @return The text of the query to be run. + * + */ public Output query() { return this.query; } + /** + * Run as role. Possible values are `viewer`, `owner`. + * + */ @Export(name="runAsRole", type=String.class, parameters={}) private Output runAsRole; + /** + * @return Run as role. Possible values are `viewer`, `owner`. + * + */ public Output> runAsRole() { return Codegen.optional(this.runAsRole); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SqlQueryArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/SqlQueryArgs.java index c9c7191e..406997e9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/SqlQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/SqlQueryArgs.java @@ -25,23 +25,47 @@ public Optional> createdAt() { return Optional.ofNullable(this.createdAt); } + /** + * Data source ID of a SQL warehouse + * + */ @Import(name="dataSourceId", required=true) private Output dataSourceId; + /** + * @return Data source ID of a SQL warehouse + * + */ public Output dataSourceId() { return this.dataSourceId; } + /** + * General description that conveys additional information about this query such as usage notes. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return General description that conveys additional information about this query such as usage notes. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * The title of this query that appears in list views, widget headings, and on the query page. + * + */ @Import(name="name") private @Nullable Output name; + /** + * @return The title of this query that appears in list views, widget headings, and on the query page. + * + */ public Optional> name() { return Optional.ofNullable(this.name); } @@ -53,23 +77,47 @@ public Optional>> parameters() { return Optional.ofNullable(this.parameters); } + /** + * The identifier of the workspace folder containing the object. + * + */ @Import(name="parent") private @Nullable Output parent; + /** + * @return The identifier of the workspace folder containing the object. + * + */ public Optional> parent() { return Optional.ofNullable(this.parent); } + /** + * The text of the query to be run. + * + */ @Import(name="query", required=true) private Output query; + /** + * @return The text of the query to be run. + * + */ public Output query() { return this.query; } + /** + * Run as role. Possible values are `viewer`, `owner`. + * + */ @Import(name="runAsRole") private @Nullable Output runAsRole; + /** + * @return Run as role. Possible values are `viewer`, `owner`. + * + */ public Optional> runAsRole() { return Optional.ofNullable(this.runAsRole); } @@ -150,29 +198,65 @@ public Builder createdAt(String createdAt) { return createdAt(Output.of(createdAt)); } + /** + * @param dataSourceId Data source ID of a SQL warehouse + * + * @return builder + * + */ public Builder dataSourceId(Output dataSourceId) { $.dataSourceId = dataSourceId; return this; } + /** + * @param dataSourceId Data source ID of a SQL warehouse + * + * @return builder + * + */ public Builder dataSourceId(String dataSourceId) { return dataSourceId(Output.of(dataSourceId)); } + /** + * @param description General description that conveys additional information about this query such as usage notes. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description General description that conveys additional information about this query such as usage notes. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param name The title of this query that appears in list views, widget headings, and on the query page. + * + * @return builder + * + */ public Builder name(@Nullable Output name) { $.name = name; return this; } + /** + * @param name The title of this query that appears in list views, widget headings, and on the query page. + * + * @return builder + * + */ public Builder name(String name) { return name(Output.of(name)); } @@ -190,29 +274,65 @@ public Builder parameters(SqlQueryParameterArgs... parameters) { return parameters(List.of(parameters)); } + /** + * @param parent The identifier of the workspace folder containing the object. + * + * @return builder + * + */ public Builder parent(@Nullable Output parent) { $.parent = parent; return this; } + /** + * @param parent The identifier of the workspace folder containing the object. + * + * @return builder + * + */ public Builder parent(String parent) { return parent(Output.of(parent)); } + /** + * @param query The text of the query to be run. + * + * @return builder + * + */ public Builder query(Output query) { $.query = query; return this; } + /** + * @param query The text of the query to be run. + * + * @return builder + * + */ public Builder query(String query) { return query(Output.of(query)); } + /** + * @param runAsRole Run as role. Possible values are `viewer`, `owner`. + * + * @return builder + * + */ public Builder runAsRole(@Nullable Output runAsRole) { $.runAsRole = runAsRole; return this; } + /** + * @param runAsRole Run as role. Possible values are `viewer`, `owner`. + * + * @return builder + * + */ public Builder runAsRole(String runAsRole) { return runAsRole(Output.of(runAsRole)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SystemSchema.java b/sdk/java/src/main/java/com/pulumi/databricks/SystemSchema.java new file mode 100644 index 00000000..b557ef64 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/SystemSchema.java @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.databricks.SystemSchemaArgs; +import com.pulumi.databricks.Utilities; +import com.pulumi.databricks.inputs.SystemSchemaState; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * > **Notes** + * Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future. + * + * Manages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin. + * + * ## Example Usage + * + * Enable the system schema `access` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.databricks.SystemSchema; + * import com.pulumi.databricks.SystemSchemaArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var this_ = new SystemSchema("this", SystemSchemaArgs.builder() + * .schema("access") + * .build()); + * + * } + * } + * ``` + * + * ## Import + * + * This resource can be imported by the metastore id and schema name bash + * + * ```sh + * $ pulumi import databricks:index/systemSchema:SystemSchema this <metastore_id>|<schema_name> + * ``` + * + */ +@ResourceType(type="databricks:index/systemSchema:SystemSchema") +public class SystemSchema extends com.pulumi.resources.CustomResource { + @Export(name="metastoreId", type=String.class, parameters={}) + private Output metastoreId; + + public Output metastoreId() { + return this.metastoreId; + } + /** + * Full name of the system schema. + * + */ + @Export(name="schema", type=String.class, parameters={}) + private Output schema; + + /** + * @return Full name of the system schema. + * + */ + public Output> schema() { + return Codegen.optional(this.schema); + } + /** + * The current state of enablement for the system schema. + * + */ + @Export(name="state", type=String.class, parameters={}) + private Output state; + + /** + * @return The current state of enablement for the system schema. + * + */ + public Output state() { + return this.state; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SystemSchema(String name) { + this(name, SystemSchemaArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SystemSchema(String name, @Nullable SystemSchemaArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public SystemSchema(String name, @Nullable SystemSchemaArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/systemSchema:SystemSchema", name, args == null ? SystemSchemaArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private SystemSchema(String name, Output id, @Nullable SystemSchemaState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("databricks:index/systemSchema:SystemSchema", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static SystemSchema get(String name, Output id, @Nullable SystemSchemaState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SystemSchema(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/SystemSchemaArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/SystemSchemaArgs.java new file mode 100644 index 00000000..0dc4e15f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/SystemSchemaArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SystemSchemaArgs extends com.pulumi.resources.ResourceArgs { + + public static final SystemSchemaArgs Empty = new SystemSchemaArgs(); + + /** + * Full name of the system schema. + * + */ + @Import(name="schema") + private @Nullable Output schema; + + /** + * @return Full name of the system schema. + * + */ + public Optional> schema() { + return Optional.ofNullable(this.schema); + } + + /** + * The current state of enablement for the system schema. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current state of enablement for the system schema. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private SystemSchemaArgs() {} + + private SystemSchemaArgs(SystemSchemaArgs $) { + this.schema = $.schema; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SystemSchemaArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SystemSchemaArgs $; + + public Builder() { + $ = new SystemSchemaArgs(); + } + + public Builder(SystemSchemaArgs defaults) { + $ = new SystemSchemaArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param schema Full name of the system schema. + * + * @return builder + * + */ + public Builder schema(@Nullable Output schema) { + $.schema = schema; + return this; + } + + /** + * @param schema Full name of the system schema. + * + * @return builder + * + */ + public Builder schema(String schema) { + return schema(Output.of(schema)); + } + + /** + * @param state The current state of enablement for the system schema. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current state of enablement for the system schema. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public SystemSchemaArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/User.java b/sdk/java/src/main/java/com/pulumi/databricks/User.java index f3abec7e..abc2650f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/User.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/User.java @@ -411,14 +411,14 @@ public Output repos() { return this.repos; } /** - * This is the username of the given user and will be their form of access and identity. + * This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * */ @Export(name="userName", type=String.class, parameters={}) private Output userName; /** - * @return This is the username of the given user and will be their form of access and identity. + * @return This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * */ public Output userName() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/UserArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/UserArgs.java index d8bec145..f2d25ca6 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/UserArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/UserArgs.java @@ -204,14 +204,14 @@ public Optional> repos() { } /** - * This is the username of the given user and will be their form of access and identity. + * This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * */ @Import(name="userName", required=true) private Output userName; /** - * @return This is the username of the given user and will be their form of access and identity. + * @return This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * */ public Output userName() { @@ -525,7 +525,7 @@ public Builder repos(String repos) { } /** - * @param userName This is the username of the given user and will be their form of access and identity. + * @param userName This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * * @return builder * @@ -536,7 +536,7 @@ public Builder userName(Output userName) { } /** - * @param userName This is the username of the given user and will be their form of access and identity. + * @param userName This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/Volume.java b/sdk/java/src/main/java/com/pulumi/databricks/Volume.java index 50276d26..7a5122ba 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/Volume.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/Volume.java @@ -185,28 +185,28 @@ public Output schemaName() { return this.schemaName; } /** - * Path inside an External Location. Only used for `EXTERNAL` Volumes. + * Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * */ @Export(name="storageLocation", type=String.class, parameters={}) private Output storageLocation; /** - * @return Path inside an External Location. Only used for `EXTERNAL` Volumes. + * @return Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * */ public Output> storageLocation() { return Codegen.optional(this.storageLocation); } /** - * Volume type. `EXTERNAL` or `MANAGED`. + * Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * */ @Export(name="volumeType", type=String.class, parameters={}) private Output volumeType; /** - * @return Volume type. `EXTERNAL` or `MANAGED`. + * @return Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * */ public Output volumeType() { diff --git a/sdk/java/src/main/java/com/pulumi/databricks/VolumeArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/VolumeArgs.java index 20d358b6..35550187 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/VolumeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/VolumeArgs.java @@ -91,14 +91,14 @@ public Output schemaName() { } /** - * Path inside an External Location. Only used for `EXTERNAL` Volumes. + * Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * */ @Import(name="storageLocation") private @Nullable Output storageLocation; /** - * @return Path inside an External Location. Only used for `EXTERNAL` Volumes. + * @return Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * */ public Optional> storageLocation() { @@ -106,14 +106,14 @@ public Optional> storageLocation() { } /** - * Volume type. `EXTERNAL` or `MANAGED`. + * Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * */ @Import(name="volumeType", required=true) private Output volumeType; /** - * @return Volume type. `EXTERNAL` or `MANAGED`. + * @return Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * */ public Output volumeType() { @@ -256,7 +256,7 @@ public Builder schemaName(String schemaName) { } /** - * @param storageLocation Path inside an External Location. Only used for `EXTERNAL` Volumes. + * @param storageLocation Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * * @return builder * @@ -267,7 +267,7 @@ public Builder storageLocation(@Nullable Output storageLocation) { } /** - * @param storageLocation Path inside an External Location. Only used for `EXTERNAL` Volumes. + * @param storageLocation Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * * @return builder * @@ -277,7 +277,7 @@ public Builder storageLocation(String storageLocation) { } /** - * @param volumeType Volume type. `EXTERNAL` or `MANAGED`. + * @param volumeType Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * * @return builder * @@ -288,7 +288,7 @@ public Builder volumeType(Output volumeType) { } /** - * @param volumeType Volume type. `EXTERNAL` or `MANAGED`. + * @param volumeType Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java index 6f362125..1837a074 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ClusterState.java @@ -95,21 +95,9 @@ public Optional> clusterLogConf() { return Optional.ofNullable(this.clusterLogConf); } - /** - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ @Import(name="clusterMountInfos") private @Nullable Output> clusterMountInfos; - /** - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ public Optional>> clusterMountInfos() { return Optional.ofNullable(this.clusterMountInfos); } @@ -716,39 +704,15 @@ public Builder clusterLogConf(ClusterClusterLogConfArgs clusterLogConf) { return clusterLogConf(Output.of(clusterLogConf)); } - /** - * @return builder - * - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ public Builder clusterMountInfos(@Nullable Output> clusterMountInfos) { $.clusterMountInfos = clusterMountInfos; return this; } - /** - * @return builder - * - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ public Builder clusterMountInfos(List clusterMountInfos) { return clusterMountInfos(Output.of(clusterMountInfos)); } - /** - * @return builder - * - * @deprecated - * cluster_mount_info block is deprecated due the Clusters API changes. - * - */ - @Deprecated /* cluster_mount_info block is deprecated due the Clusters API changes. */ public Builder clusterMountInfos(ClusterClusterMountInfoArgs... clusterMountInfos) { return clusterMountInfos(List.of(clusterMountInfos)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsQueue.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsQueue.java index ba46b93f..0f1cbbd8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsQueue.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsQueue.java @@ -3,16 +3,34 @@ package com.pulumi.databricks.inputs; - +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.util.Objects; public final class GetJobJobSettingsSettingsQueue extends com.pulumi.resources.InvokeArgs { public static final GetJobJobSettingsSettingsQueue Empty = new GetJobJobSettingsSettingsQueue(); + @Import(name="enabled", required=true) + private Boolean enabled; + + public Boolean enabled() { + return this.enabled; + } + + private GetJobJobSettingsSettingsQueue() {} + + private GetJobJobSettingsSettingsQueue(GetJobJobSettingsSettingsQueue $) { + this.enabled = $.enabled; + } + public static Builder builder() { return new Builder(); } + public static Builder builder(GetJobJobSettingsSettingsQueue defaults) { + return new Builder(defaults); + } public static final class Builder { private GetJobJobSettingsSettingsQueue $; @@ -20,7 +38,18 @@ public static final class Builder { public Builder() { $ = new GetJobJobSettingsSettingsQueue(); } + + public Builder(GetJobJobSettingsSettingsQueue defaults) { + $ = new GetJobJobSettingsSettingsQueue(Objects.requireNonNull(defaults)); + } + + public Builder enabled(Boolean enabled) { + $.enabled = enabled; + return this; + } + public GetJobJobSettingsSettingsQueue build() { + $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsQueueArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsQueueArgs.java index a6389905..588790c8 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsQueueArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GetJobJobSettingsSettingsQueueArgs.java @@ -3,16 +3,35 @@ package com.pulumi.databricks.inputs; - +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.util.Objects; public final class GetJobJobSettingsSettingsQueueArgs extends com.pulumi.resources.ResourceArgs { public static final GetJobJobSettingsSettingsQueueArgs Empty = new GetJobJobSettingsSettingsQueueArgs(); + @Import(name="enabled", required=true) + private Output enabled; + + public Output enabled() { + return this.enabled; + } + + private GetJobJobSettingsSettingsQueueArgs() {} + + private GetJobJobSettingsSettingsQueueArgs(GetJobJobSettingsSettingsQueueArgs $) { + this.enabled = $.enabled; + } + public static Builder builder() { return new Builder(); } + public static Builder builder(GetJobJobSettingsSettingsQueueArgs defaults) { + return new Builder(defaults); + } public static final class Builder { private GetJobJobSettingsSettingsQueueArgs $; @@ -20,7 +39,22 @@ public static final class Builder { public Builder() { $ = new GetJobJobSettingsSettingsQueueArgs(); } + + public Builder(GetJobJobSettingsSettingsQueueArgs defaults) { + $ = new GetJobJobSettingsSettingsQueueArgs(Objects.requireNonNull(defaults)); + } + + public Builder enabled(Output enabled) { + $.enabled = enabled; + return this; + } + + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + public GetJobJobSettingsSettingsQueueArgs build() { + $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantsState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantsState.java index 7086f9e4..413557b7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantsState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/GrantsState.java @@ -66,6 +66,13 @@ public Optional> metastore() { return Optional.ofNullable(this.metastore); } + @Import(name="model") + private @Nullable Output model; + + public Optional> model() { + return Optional.ofNullable(this.model); + } + @Import(name="schema") private @Nullable Output schema; @@ -118,6 +125,7 @@ private GrantsState(GrantsState $) { this.grants = $.grants; this.materializedView = $.materializedView; this.metastore = $.metastore; + this.model = $.model; this.schema = $.schema; this.share = $.share; this.storageCredential = $.storageCredential; @@ -211,6 +219,15 @@ public Builder metastore(String metastore) { return metastore(Output.of(metastore)); } + public Builder model(@Nullable Output model) { + $.model = model; + return this; + } + + public Builder model(String model) { + return model(Output.of(model)); + } + public Builder schema(@Nullable Output schema) { $.schema = schema; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobQueueArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobQueueArgs.java index bbc36445..12c9aedb 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobQueueArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobQueueArgs.java @@ -3,16 +3,35 @@ package com.pulumi.databricks.inputs; - +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.util.Objects; public final class JobQueueArgs extends com.pulumi.resources.ResourceArgs { public static final JobQueueArgs Empty = new JobQueueArgs(); + @Import(name="enabled", required=true) + private Output enabled; + + public Output enabled() { + return this.enabled; + } + + private JobQueueArgs() {} + + private JobQueueArgs(JobQueueArgs $) { + this.enabled = $.enabled; + } + public static Builder builder() { return new Builder(); } + public static Builder builder(JobQueueArgs defaults) { + return new Builder(defaults); + } public static final class Builder { private JobQueueArgs $; @@ -20,7 +39,22 @@ public static final class Builder { public Builder() { $ = new JobQueueArgs(); } + + public Builder(JobQueueArgs defaults) { + $ = new JobQueueArgs(Objects.requireNonNull(defaults)); + } + + public Builder enabled(Output enabled) { + $.enabled = enabled; + return this; + } + + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + public JobQueueArgs build() { + $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobRunAsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobRunAsArgs.java index ad354874..8b654766 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobRunAsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/JobRunAsArgs.java @@ -18,7 +18,7 @@ public final class JobRunAsArgs extends com.pulumi.resources.ResourceArgs { /** * The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. * - * Example + * Example: * ```java * package generated_program; * @@ -58,7 +58,7 @@ public final class JobRunAsArgs extends com.pulumi.resources.ResourceArgs { /** * @return The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. * - * Example + * Example: * ```java * package generated_program; * @@ -139,7 +139,7 @@ public Builder(JobRunAsArgs defaults) { /** * @param servicePrincipalName The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. * - * Example + * Example: * ```java * package generated_program; * @@ -183,7 +183,7 @@ public Builder servicePrincipalName(@Nullable Output servicePrincipalNam /** * @param servicePrincipalName The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. * - * Example + * Example: * ```java * package generated_program; * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedModelArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedModelArgs.java index 8c9bcd3b..c12a95a2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedModelArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/ModelServingConfigServedModelArgs.java @@ -123,6 +123,21 @@ public Output workloadSize() { return this.workloadSize; } + /** + * The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + * + */ + @Import(name="workloadType") + private @Nullable Output workloadType; + + /** + * @return The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + * + */ + public Optional> workloadType() { + return Optional.ofNullable(this.workloadType); + } + private ModelServingConfigServedModelArgs() {} private ModelServingConfigServedModelArgs(ModelServingConfigServedModelArgs $) { @@ -133,6 +148,7 @@ private ModelServingConfigServedModelArgs(ModelServingConfigServedModelArgs $) { this.name = $.name; this.scaleToZeroEnabled = $.scaleToZeroEnabled; this.workloadSize = $.workloadSize; + this.workloadType = $.workloadType; } public static Builder builder() { @@ -300,6 +316,27 @@ public Builder workloadSize(String workloadSize) { return workloadSize(Output.of(workloadSize)); } + /** + * @param workloadType The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + * + * @return builder + * + */ + public Builder workloadType(@Nullable Output workloadType) { + $.workloadType = workloadType; + return this; + } + + /** + * @param workloadType The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + * + * @return builder + * + */ + public Builder workloadType(String workloadType) { + return workloadType(Output.of(workloadType)); + } + public ModelServingConfigServedModelArgs build() { $.modelName = Objects.requireNonNull($.modelName, "expected parameter 'modelName' to be non-null"); $.modelVersion = Objects.requireNonNull($.modelVersion, "expected parameter 'modelVersion' to be non-null"); diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/RegisteredModelState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/RegisteredModelState.java new file mode 100644 index 00000000..ee9bd766 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/RegisteredModelState.java @@ -0,0 +1,211 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RegisteredModelState extends com.pulumi.resources.ResourceArgs { + + public static final RegisteredModelState Empty = new RegisteredModelState(); + + /** + * The name of the catalog where the schema and the registered model reside. + * + */ + @Import(name="catalogName") + private @Nullable Output catalogName; + + /** + * @return The name of the catalog where the schema and the registered model reside. + * + */ + public Optional> catalogName() { + return Optional.ofNullable(this.catalogName); + } + + /** + * The comment attached to the registered model. + * + */ + @Import(name="comment") + private @Nullable Output comment; + + /** + * @return The comment attached to the registered model. + * + */ + public Optional> comment() { + return Optional.ofNullable(this.comment); + } + + /** + * The name of the registered model. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the registered model. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The name of the schema where the registered model resides. + * + */ + @Import(name="schemaName") + private @Nullable Output schemaName; + + /** + * @return The name of the schema where the registered model resides. + * + */ + public Optional> schemaName() { + return Optional.ofNullable(this.schemaName); + } + + @Import(name="storageLocation") + private @Nullable Output storageLocation; + + public Optional> storageLocation() { + return Optional.ofNullable(this.storageLocation); + } + + private RegisteredModelState() {} + + private RegisteredModelState(RegisteredModelState $) { + this.catalogName = $.catalogName; + this.comment = $.comment; + this.name = $.name; + this.schemaName = $.schemaName; + this.storageLocation = $.storageLocation; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RegisteredModelState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RegisteredModelState $; + + public Builder() { + $ = new RegisteredModelState(); + } + + public Builder(RegisteredModelState defaults) { + $ = new RegisteredModelState(Objects.requireNonNull(defaults)); + } + + /** + * @param catalogName The name of the catalog where the schema and the registered model reside. + * + * @return builder + * + */ + public Builder catalogName(@Nullable Output catalogName) { + $.catalogName = catalogName; + return this; + } + + /** + * @param catalogName The name of the catalog where the schema and the registered model reside. + * + * @return builder + * + */ + public Builder catalogName(String catalogName) { + return catalogName(Output.of(catalogName)); + } + + /** + * @param comment The comment attached to the registered model. + * + * @return builder + * + */ + public Builder comment(@Nullable Output comment) { + $.comment = comment; + return this; + } + + /** + * @param comment The comment attached to the registered model. + * + * @return builder + * + */ + public Builder comment(String comment) { + return comment(Output.of(comment)); + } + + /** + * @param name The name of the registered model. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the registered model. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param schemaName The name of the schema where the registered model resides. + * + * @return builder + * + */ + public Builder schemaName(@Nullable Output schemaName) { + $.schemaName = schemaName; + return this; + } + + /** + * @param schemaName The name of the schema where the registered model resides. + * + * @return builder + * + */ + public Builder schemaName(String schemaName) { + return schemaName(Output.of(schemaName)); + } + + public Builder storageLocation(@Nullable Output storageLocation) { + $.storageLocation = storageLocation; + return this; + } + + public Builder storageLocation(String storageLocation) { + return storageLocation(Output.of(storageLocation)); + } + + public RegisteredModelState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SchemaState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SchemaState.java index 3cf07916..5e925e0a 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SchemaState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SchemaState.java @@ -116,14 +116,14 @@ public Optional>> properties() { } /** - * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * */ @Import(name="storageRoot") private @Nullable Output storageRoot; /** - * @return Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * @return Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * */ public Optional> storageRoot() { @@ -297,7 +297,7 @@ public Builder properties(Map properties) { } /** - * @param storageRoot Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * @param storageRoot Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * * @return builder * @@ -308,7 +308,7 @@ public Builder storageRoot(@Nullable Output storageRoot) { } /** - * @param storageRoot Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * @param storageRoot Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SecretAclState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SecretAclState.java index 25edbb26..a878bfe3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SecretAclState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SecretAclState.java @@ -31,14 +31,14 @@ public Optional> permission() { } /** - * name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * principal's identifier. It can be: * */ @Import(name="principal") private @Nullable Output principal; /** - * @return name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * @return principal's identifier. It can be: * */ public Optional> principal() { @@ -108,7 +108,7 @@ public Builder permission(String permission) { } /** - * @param principal name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * @param principal principal's identifier. It can be: * * @return builder * @@ -119,7 +119,7 @@ public Builder principal(@Nullable Output principal) { } /** - * @param principal name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + * @param principal principal's identifier. It can be: * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlAlertOptionsArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlAlertOptionsArgs.java index 88679f0b..3cdc28ba 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlAlertOptionsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlAlertOptionsArgs.java @@ -61,6 +61,21 @@ public Optional> customSubject() { return Optional.ofNullable(this.customSubject); } + /** + * State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + * + */ + @Import(name="emptyResultState") + private @Nullable Output emptyResultState; + + /** + * @return State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + * + */ + public Optional> emptyResultState() { + return Optional.ofNullable(this.emptyResultState); + } + /** * Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. * @@ -112,6 +127,7 @@ private SqlAlertOptionsArgs(SqlAlertOptionsArgs $) { this.column = $.column; this.customBody = $.customBody; this.customSubject = $.customSubject; + this.emptyResultState = $.emptyResultState; this.muted = $.muted; this.op = $.op; this.value = $.value; @@ -198,6 +214,27 @@ public Builder customSubject(String customSubject) { return customSubject(Output.of(customSubject)); } + /** + * @param emptyResultState State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + * + * @return builder + * + */ + public Builder emptyResultState(@Nullable Output emptyResultState) { + $.emptyResultState = emptyResultState; + return this; + } + + /** + * @param emptyResultState State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + * + * @return builder + * + */ + public Builder emptyResultState(String emptyResultState) { + return emptyResultState(Output.of(emptyResultState)); + } + /** * @param muted Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlDashboardState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlDashboardState.java index 906c69b8..e22ae529 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlDashboardState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlDashboardState.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -23,6 +24,13 @@ public Optional> createdAt() { return Optional.ofNullable(this.createdAt); } + @Import(name="dashboardFiltersEnabled") + private @Nullable Output dashboardFiltersEnabled; + + public Optional> dashboardFiltersEnabled() { + return Optional.ofNullable(this.dashboardFiltersEnabled); + } + @Import(name="name") private @Nullable Output name; @@ -55,6 +63,7 @@ private SqlDashboardState() {} private SqlDashboardState(SqlDashboardState $) { this.createdAt = $.createdAt; + this.dashboardFiltersEnabled = $.dashboardFiltersEnabled; this.name = $.name; this.parent = $.parent; this.tags = $.tags; @@ -88,6 +97,15 @@ public Builder createdAt(String createdAt) { return createdAt(Output.of(createdAt)); } + public Builder dashboardFiltersEnabled(@Nullable Output dashboardFiltersEnabled) { + $.dashboardFiltersEnabled = dashboardFiltersEnabled; + return this; + } + + public Builder dashboardFiltersEnabled(Boolean dashboardFiltersEnabled) { + return dashboardFiltersEnabled(Output.of(dashboardFiltersEnabled)); + } + public Builder name(@Nullable Output name) { $.name = name; return this; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterArgs.java index ad9cd72a..0b802864 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterArgs.java @@ -74,9 +74,23 @@ public Optional> enum_() { return Optional.ofNullable(this.enum_); } + /** + * The literal parameter marker that appears between double curly braces in the query text. + * Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + * + * For `text`, `number`, `date`, `datetime`, `datetimesec` block + * + */ @Import(name="name", required=true) private Output name; + /** + * @return The literal parameter marker that appears between double curly braces in the query text. + * Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + * + * For `text`, `number`, `date`, `datetime`, `datetimesec` block + * + */ public Output name() { return this.name; } @@ -88,9 +102,17 @@ public Optional> number() { return Optional.ofNullable(this.number); } + /** + * The text of the query to be run. + * + */ @Import(name="query") private @Nullable Output query; + /** + * @return The text of the query to be run. + * + */ public Optional> query() { return Optional.ofNullable(this.query); } @@ -102,9 +124,17 @@ public Optional> text() { return Optional.ofNullable(this.text); } + /** + * The text displayed in a parameter picking widget. + * + */ @Import(name="title") private @Nullable Output title; + /** + * @return The text displayed in a parameter picking widget. + * + */ public Optional> title() { return Optional.ofNullable(this.title); } @@ -207,11 +237,29 @@ public Builder enum_(SqlQueryParameterEnumArgs enum_) { return enum_(Output.of(enum_)); } + /** + * @param name The literal parameter marker that appears between double curly braces in the query text. + * Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + * + * For `text`, `number`, `date`, `datetime`, `datetimesec` block + * + * @return builder + * + */ public Builder name(Output name) { $.name = name; return this; } + /** + * @param name The literal parameter marker that appears between double curly braces in the query text. + * Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + * + * For `text`, `number`, `date`, `datetime`, `datetimesec` block + * + * @return builder + * + */ public Builder name(String name) { return name(Output.of(name)); } @@ -225,11 +273,23 @@ public Builder number(SqlQueryParameterNumberArgs number) { return number(Output.of(number)); } + /** + * @param query The text of the query to be run. + * + * @return builder + * + */ public Builder query(@Nullable Output query) { $.query = query; return this; } + /** + * @param query The text of the query to be run. + * + * @return builder + * + */ public Builder query(SqlQueryParameterQueryArgs query) { return query(Output.of(query)); } @@ -243,11 +303,23 @@ public Builder text(SqlQueryParameterTextArgs text) { return text(Output.of(text)); } + /** + * @param title The text displayed in a parameter picking widget. + * + * @return builder + * + */ public Builder title(@Nullable Output title) { $.title = title; return this; } + /** + * @param title The text displayed in a parameter picking widget. + * + * @return builder + * + */ public Builder title(String title) { return title(Output.of(title)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDateArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDateArgs.java index e4ef1c87..6dadfdcb 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDateArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDateArgs.java @@ -13,9 +13,17 @@ public final class SqlQueryParameterDateArgs extends com.pulumi.resources.Resour public static final SqlQueryParameterDateArgs Empty = new SqlQueryParameterDateArgs(); + /** + * The default value for this parameter. + * + */ @Import(name="value", required=true) private Output value; + /** + * @return The default value for this parameter. + * + */ public Output value() { return this.value; } @@ -44,11 +52,23 @@ public Builder(SqlQueryParameterDateArgs defaults) { $ = new SqlQueryParameterDateArgs(Objects.requireNonNull(defaults)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDateRangeArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDateRangeArgs.java index d4080bc8..b40e6bea 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDateRangeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDateRangeArgs.java @@ -23,9 +23,17 @@ public Optional> range() { return Optional.ofNullable(this.range); } + /** + * The default value for this parameter. + * + */ @Import(name="value") private @Nullable Output value; + /** + * @return The default value for this parameter. + * + */ public Optional> value() { return Optional.ofNullable(this.value); } @@ -64,11 +72,23 @@ public Builder range(SqlQueryParameterDateRangeRangeArgs range) { return range(Output.of(range)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(@Nullable Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimeArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimeArgs.java index 2b07dda5..d73c919b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimeArgs.java @@ -13,9 +13,17 @@ public final class SqlQueryParameterDatetimeArgs extends com.pulumi.resources.Re public static final SqlQueryParameterDatetimeArgs Empty = new SqlQueryParameterDatetimeArgs(); + /** + * The default value for this parameter. + * + */ @Import(name="value", required=true) private Output value; + /** + * @return The default value for this parameter. + * + */ public Output value() { return this.value; } @@ -44,11 +52,23 @@ public Builder(SqlQueryParameterDatetimeArgs defaults) { $ = new SqlQueryParameterDatetimeArgs(Objects.requireNonNull(defaults)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimeRangeArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimeRangeArgs.java index 3f244447..d0942301 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimeRangeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimeRangeArgs.java @@ -23,9 +23,17 @@ public Optional> range() { return Optional.ofNullable(this.range); } + /** + * The default value for this parameter. + * + */ @Import(name="value") private @Nullable Output value; + /** + * @return The default value for this parameter. + * + */ public Optional> value() { return Optional.ofNullable(this.value); } @@ -64,11 +72,23 @@ public Builder range(SqlQueryParameterDatetimeRangeRangeArgs range) { return range(Output.of(range)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(@Nullable Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimesecArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimesecArgs.java index b5872653..fbe24cb7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimesecArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimesecArgs.java @@ -13,9 +13,17 @@ public final class SqlQueryParameterDatetimesecArgs extends com.pulumi.resources public static final SqlQueryParameterDatetimesecArgs Empty = new SqlQueryParameterDatetimesecArgs(); + /** + * The default value for this parameter. + * + */ @Import(name="value", required=true) private Output value; + /** + * @return The default value for this parameter. + * + */ public Output value() { return this.value; } @@ -44,11 +52,23 @@ public Builder(SqlQueryParameterDatetimesecArgs defaults) { $ = new SqlQueryParameterDatetimesecArgs(Objects.requireNonNull(defaults)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimesecRangeArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimesecRangeArgs.java index c6710e95..c7d5efdc 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimesecRangeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterDatetimesecRangeArgs.java @@ -23,9 +23,17 @@ public Optional> range() { return Optional.ofNullable(this.range); } + /** + * The default value for this parameter. + * + */ @Import(name="value") private @Nullable Output value; + /** + * @return The default value for this parameter. + * + */ public Optional> value() { return Optional.ofNullable(this.value); } @@ -64,11 +72,23 @@ public Builder range(SqlQueryParameterDatetimesecRangeRangeArgs range) { return range(Output.of(range)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(@Nullable Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterEnumArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterEnumArgs.java index 40f6aca1..4517d3c3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterEnumArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterEnumArgs.java @@ -31,9 +31,17 @@ public Output> options() { return this.options; } + /** + * The default value for this parameter. + * + */ @Import(name="value") private @Nullable Output value; + /** + * @return The default value for this parameter. + * + */ public Optional> value() { return Optional.ofNullable(this.value); } @@ -94,11 +102,23 @@ public Builder options(String... options) { return options(List.of(options)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(@Nullable Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterNumberArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterNumberArgs.java index be2923db..7b037537 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterNumberArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterNumberArgs.java @@ -13,9 +13,17 @@ public final class SqlQueryParameterNumberArgs extends com.pulumi.resources.Reso public static final SqlQueryParameterNumberArgs Empty = new SqlQueryParameterNumberArgs(); + /** + * The default value for this parameter. + * + */ @Import(name="value", required=true) private Output value; + /** + * @return The default value for this parameter. + * + */ public Output value() { return this.value; } @@ -44,11 +52,23 @@ public Builder(SqlQueryParameterNumberArgs defaults) { $ = new SqlQueryParameterNumberArgs(Objects.requireNonNull(defaults)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(Double value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterQueryArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterQueryArgs.java index 1da93482..783e80b3 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterQueryArgs.java @@ -31,9 +31,17 @@ public Output queryId() { return this.queryId; } + /** + * The default value for this parameter. + * + */ @Import(name="value") private @Nullable Output value; + /** + * @return The default value for this parameter. + * + */ public Optional> value() { return Optional.ofNullable(this.value); } @@ -90,11 +98,23 @@ public Builder queryId(String queryId) { return queryId(Output.of(queryId)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(@Nullable Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterTextArgs.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterTextArgs.java index 03b616b0..dc476484 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterTextArgs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryParameterTextArgs.java @@ -13,9 +13,17 @@ public final class SqlQueryParameterTextArgs extends com.pulumi.resources.Resour public static final SqlQueryParameterTextArgs Empty = new SqlQueryParameterTextArgs(); + /** + * The default value for this parameter. + * + */ @Import(name="value", required=true) private Output value; + /** + * @return The default value for this parameter. + * + */ public Output value() { return this.value; } @@ -44,11 +52,23 @@ public Builder(SqlQueryParameterTextArgs defaults) { $ = new SqlQueryParameterTextArgs(Objects.requireNonNull(defaults)); } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(Output value) { $.value = value; return this; } + /** + * @param value The default value for this parameter. + * + * @return builder + * + */ public Builder value(String value) { return value(Output.of(value)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryState.java index 9bcfd7df..b9472688 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SqlQueryState.java @@ -25,23 +25,47 @@ public Optional> createdAt() { return Optional.ofNullable(this.createdAt); } + /** + * Data source ID of a SQL warehouse + * + */ @Import(name="dataSourceId") private @Nullable Output dataSourceId; + /** + * @return Data source ID of a SQL warehouse + * + */ public Optional> dataSourceId() { return Optional.ofNullable(this.dataSourceId); } + /** + * General description that conveys additional information about this query such as usage notes. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return General description that conveys additional information about this query such as usage notes. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * The title of this query that appears in list views, widget headings, and on the query page. + * + */ @Import(name="name") private @Nullable Output name; + /** + * @return The title of this query that appears in list views, widget headings, and on the query page. + * + */ public Optional> name() { return Optional.ofNullable(this.name); } @@ -53,23 +77,47 @@ public Optional>> parameters() { return Optional.ofNullable(this.parameters); } + /** + * The identifier of the workspace folder containing the object. + * + */ @Import(name="parent") private @Nullable Output parent; + /** + * @return The identifier of the workspace folder containing the object. + * + */ public Optional> parent() { return Optional.ofNullable(this.parent); } + /** + * The text of the query to be run. + * + */ @Import(name="query") private @Nullable Output query; + /** + * @return The text of the query to be run. + * + */ public Optional> query() { return Optional.ofNullable(this.query); } + /** + * Run as role. Possible values are `viewer`, `owner`. + * + */ @Import(name="runAsRole") private @Nullable Output runAsRole; + /** + * @return Run as role. Possible values are `viewer`, `owner`. + * + */ public Optional> runAsRole() { return Optional.ofNullable(this.runAsRole); } @@ -150,29 +198,65 @@ public Builder createdAt(String createdAt) { return createdAt(Output.of(createdAt)); } + /** + * @param dataSourceId Data source ID of a SQL warehouse + * + * @return builder + * + */ public Builder dataSourceId(@Nullable Output dataSourceId) { $.dataSourceId = dataSourceId; return this; } + /** + * @param dataSourceId Data source ID of a SQL warehouse + * + * @return builder + * + */ public Builder dataSourceId(String dataSourceId) { return dataSourceId(Output.of(dataSourceId)); } + /** + * @param description General description that conveys additional information about this query such as usage notes. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description General description that conveys additional information about this query such as usage notes. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param name The title of this query that appears in list views, widget headings, and on the query page. + * + * @return builder + * + */ public Builder name(@Nullable Output name) { $.name = name; return this; } + /** + * @param name The title of this query that appears in list views, widget headings, and on the query page. + * + * @return builder + * + */ public Builder name(String name) { return name(Output.of(name)); } @@ -190,29 +274,65 @@ public Builder parameters(SqlQueryParameterArgs... parameters) { return parameters(List.of(parameters)); } + /** + * @param parent The identifier of the workspace folder containing the object. + * + * @return builder + * + */ public Builder parent(@Nullable Output parent) { $.parent = parent; return this; } + /** + * @param parent The identifier of the workspace folder containing the object. + * + * @return builder + * + */ public Builder parent(String parent) { return parent(Output.of(parent)); } + /** + * @param query The text of the query to be run. + * + * @return builder + * + */ public Builder query(@Nullable Output query) { $.query = query; return this; } + /** + * @param query The text of the query to be run. + * + * @return builder + * + */ public Builder query(String query) { return query(Output.of(query)); } + /** + * @param runAsRole Run as role. Possible values are `viewer`, `owner`. + * + * @return builder + * + */ public Builder runAsRole(@Nullable Output runAsRole) { $.runAsRole = runAsRole; return this; } + /** + * @param runAsRole Run as role. Possible values are `viewer`, `owner`. + * + * @return builder + * + */ public Builder runAsRole(String runAsRole) { return runAsRole(Output.of(runAsRole)); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/SystemSchemaState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SystemSchemaState.java new file mode 100644 index 00000000..41dfe1a7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/SystemSchemaState.java @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.databricks.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SystemSchemaState extends com.pulumi.resources.ResourceArgs { + + public static final SystemSchemaState Empty = new SystemSchemaState(); + + @Import(name="metastoreId") + private @Nullable Output metastoreId; + + public Optional> metastoreId() { + return Optional.ofNullable(this.metastoreId); + } + + /** + * Full name of the system schema. + * + */ + @Import(name="schema") + private @Nullable Output schema; + + /** + * @return Full name of the system schema. + * + */ + public Optional> schema() { + return Optional.ofNullable(this.schema); + } + + /** + * The current state of enablement for the system schema. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current state of enablement for the system schema. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private SystemSchemaState() {} + + private SystemSchemaState(SystemSchemaState $) { + this.metastoreId = $.metastoreId; + this.schema = $.schema; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SystemSchemaState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SystemSchemaState $; + + public Builder() { + $ = new SystemSchemaState(); + } + + public Builder(SystemSchemaState defaults) { + $ = new SystemSchemaState(Objects.requireNonNull(defaults)); + } + + public Builder metastoreId(@Nullable Output metastoreId) { + $.metastoreId = metastoreId; + return this; + } + + public Builder metastoreId(String metastoreId) { + return metastoreId(Output.of(metastoreId)); + } + + /** + * @param schema Full name of the system schema. + * + * @return builder + * + */ + public Builder schema(@Nullable Output schema) { + $.schema = schema; + return this; + } + + /** + * @param schema Full name of the system schema. + * + * @return builder + * + */ + public Builder schema(String schema) { + return schema(Output.of(schema)); + } + + /** + * @param state The current state of enablement for the system schema. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current state of enablement for the system schema. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public SystemSchemaState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/UserState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/UserState.java index 2677a4c0..1adfc3d9 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/UserState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/UserState.java @@ -204,14 +204,14 @@ public Optional> repos() { } /** - * This is the username of the given user and will be their form of access and identity. + * This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * */ @Import(name="userName") private @Nullable Output userName; /** - * @return This is the username of the given user and will be their form of access and identity. + * @return This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * */ public Optional> userName() { @@ -525,7 +525,7 @@ public Builder repos(String repos) { } /** - * @param userName This is the username of the given user and will be their form of access and identity. + * @param userName This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * * @return builder * @@ -536,7 +536,7 @@ public Builder userName(@Nullable Output userName) { } /** - * @param userName This is the username of the given user and will be their form of access and identity. + * @param userName This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VolumeState.java b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VolumeState.java index 223c569c..deb9290b 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/inputs/VolumeState.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/inputs/VolumeState.java @@ -91,14 +91,14 @@ public Optional> schemaName() { } /** - * Path inside an External Location. Only used for `EXTERNAL` Volumes. + * Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * */ @Import(name="storageLocation") private @Nullable Output storageLocation; /** - * @return Path inside an External Location. Only used for `EXTERNAL` Volumes. + * @return Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * */ public Optional> storageLocation() { @@ -106,14 +106,14 @@ public Optional> storageLocation() { } /** - * Volume type. `EXTERNAL` or `MANAGED`. + * Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * */ @Import(name="volumeType") private @Nullable Output volumeType; /** - * @return Volume type. `EXTERNAL` or `MANAGED`. + * @return Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * */ public Optional> volumeType() { @@ -256,7 +256,7 @@ public Builder schemaName(String schemaName) { } /** - * @param storageLocation Path inside an External Location. Only used for `EXTERNAL` Volumes. + * @param storageLocation Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * * @return builder * @@ -267,7 +267,7 @@ public Builder storageLocation(@Nullable Output storageLocation) { } /** - * @param storageLocation Path inside an External Location. Only used for `EXTERNAL` Volumes. + * @param storageLocation Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. * * @return builder * @@ -277,7 +277,7 @@ public Builder storageLocation(String storageLocation) { } /** - * @param volumeType Volume type. `EXTERNAL` or `MANAGED`. + * @param volumeType Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * * @return builder * @@ -288,7 +288,7 @@ public Builder volumeType(@Nullable Output volumeType) { } /** - * @param volumeType Volume type. `EXTERNAL` or `MANAGED`. + * @param volumeType Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsQueue.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsQueue.java index 62042664..025fc257 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsQueue.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/GetJobJobSettingsSettingsQueue.java @@ -4,11 +4,17 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.util.Objects; @CustomType public final class GetJobJobSettingsSettingsQueue { + private Boolean enabled; + private GetJobJobSettingsSettingsQueue() {} + public Boolean enabled() { + return this.enabled; + } public static Builder builder() { return new Builder(); @@ -19,13 +25,21 @@ public static Builder builder(GetJobJobSettingsSettingsQueue defaults) { } @CustomType.Builder public static final class Builder { + private Boolean enabled; public Builder() {} public Builder(GetJobJobSettingsSettingsQueue defaults) { Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; } + @CustomType.Setter + public Builder enabled(Boolean enabled) { + this.enabled = Objects.requireNonNull(enabled); + return this; + } public GetJobJobSettingsSettingsQueue build() { final var o = new GetJobJobSettingsSettingsQueue(); + o.enabled = enabled; return o; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobQueue.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobQueue.java index e2dfc593..15774b60 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobQueue.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobQueue.java @@ -4,11 +4,17 @@ package com.pulumi.databricks.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.util.Objects; @CustomType public final class JobQueue { + private Boolean enabled; + private JobQueue() {} + public Boolean enabled() { + return this.enabled; + } public static Builder builder() { return new Builder(); @@ -19,13 +25,21 @@ public static Builder builder(JobQueue defaults) { } @CustomType.Builder public static final class Builder { + private Boolean enabled; public Builder() {} public Builder(JobQueue defaults) { Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; } + @CustomType.Setter + public Builder enabled(Boolean enabled) { + this.enabled = Objects.requireNonNull(enabled); + return this; + } public JobQueue build() { final var o = new JobQueue(); + o.enabled = enabled; return o; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobRunAs.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobRunAs.java index d2d67413..60e11cd7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobRunAs.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/JobRunAs.java @@ -14,7 +14,7 @@ public final class JobRunAs { /** * @return The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. * - * Example + * Example: * ```java * package generated_program; * @@ -59,7 +59,7 @@ private JobRunAs() {} /** * @return The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. * - * Example + * Example: * ```java * package generated_program; * diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedModel.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedModel.java index 99d51332..a17e30b7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedModel.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/ModelServingConfigServedModel.java @@ -49,6 +49,11 @@ public final class ModelServingConfigServedModel { * */ private String workloadSize; + /** + * @return The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + * + */ + private @Nullable String workloadType; private ModelServingConfigServedModel() {} /** @@ -100,6 +105,13 @@ public Optional scaleToZeroEnabled() { public String workloadSize() { return this.workloadSize; } + /** + * @return The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + * + */ + public Optional workloadType() { + return Optional.ofNullable(this.workloadType); + } public static Builder builder() { return new Builder(); @@ -117,6 +129,7 @@ public static final class Builder { private @Nullable String name; private @Nullable Boolean scaleToZeroEnabled; private String workloadSize; + private @Nullable String workloadType; public Builder() {} public Builder(ModelServingConfigServedModel defaults) { Objects.requireNonNull(defaults); @@ -127,6 +140,7 @@ public Builder(ModelServingConfigServedModel defaults) { this.name = defaults.name; this.scaleToZeroEnabled = defaults.scaleToZeroEnabled; this.workloadSize = defaults.workloadSize; + this.workloadType = defaults.workloadType; } @CustomType.Setter @@ -164,6 +178,11 @@ public Builder workloadSize(String workloadSize) { this.workloadSize = Objects.requireNonNull(workloadSize); return this; } + @CustomType.Setter + public Builder workloadType(@Nullable String workloadType) { + this.workloadType = workloadType; + return this; + } public ModelServingConfigServedModel build() { final var o = new ModelServingConfigServedModel(); o.environmentVars = environmentVars; @@ -173,6 +192,7 @@ public ModelServingConfigServedModel build() { o.name = name; o.scaleToZeroEnabled = scaleToZeroEnabled; o.workloadSize = workloadSize; + o.workloadType = workloadType; return o; } } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlAlertOptions.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlAlertOptions.java index a019a59f..0c1b7aea 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlAlertOptions.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlAlertOptions.java @@ -27,6 +27,11 @@ public final class SqlAlertOptions { * */ private @Nullable String customSubject; + /** + * @return State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + * + */ + private @Nullable String emptyResultState; /** * @return Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. * @@ -65,6 +70,13 @@ public Optional customBody() { public Optional customSubject() { return Optional.ofNullable(this.customSubject); } + /** + * @return State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + * + */ + public Optional emptyResultState() { + return Optional.ofNullable(this.emptyResultState); + } /** * @return Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. * @@ -99,6 +111,7 @@ public static final class Builder { private String column; private @Nullable String customBody; private @Nullable String customSubject; + private @Nullable String emptyResultState; private @Nullable Boolean muted; private String op; private String value; @@ -108,6 +121,7 @@ public Builder(SqlAlertOptions defaults) { this.column = defaults.column; this.customBody = defaults.customBody; this.customSubject = defaults.customSubject; + this.emptyResultState = defaults.emptyResultState; this.muted = defaults.muted; this.op = defaults.op; this.value = defaults.value; @@ -129,6 +143,11 @@ public Builder customSubject(@Nullable String customSubject) { return this; } @CustomType.Setter + public Builder emptyResultState(@Nullable String emptyResultState) { + this.emptyResultState = emptyResultState; + return this; + } + @CustomType.Setter public Builder muted(@Nullable Boolean muted) { this.muted = muted; return this; @@ -148,6 +167,7 @@ public SqlAlertOptions build() { o.column = column; o.customBody = customBody; o.customSubject = customSubject; + o.emptyResultState = emptyResultState; o.muted = muted; o.op = op; o.value = value; diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameter.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameter.java index 94b6b7b4..2e7574ce 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameter.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameter.java @@ -28,10 +28,25 @@ public final class SqlQueryParameter { private @Nullable SqlQueryParameterDatetimesec datetimesec; private @Nullable SqlQueryParameterDatetimesecRange datetimesecRange; private @Nullable SqlQueryParameterEnum enum_; + /** + * @return The literal parameter marker that appears between double curly braces in the query text. + * Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + * + * For `text`, `number`, `date`, `datetime`, `datetimesec` block + * + */ private String name; private @Nullable SqlQueryParameterNumber number; + /** + * @return The text of the query to be run. + * + */ private @Nullable SqlQueryParameterQuery query; private @Nullable SqlQueryParameterText text; + /** + * @return The text displayed in a parameter picking widget. + * + */ private @Nullable String title; private SqlQueryParameter() {} @@ -56,18 +71,33 @@ public Optional datetimesecRange() { public Optional enum_() { return Optional.ofNullable(this.enum_); } + /** + * @return The literal parameter marker that appears between double curly braces in the query text. + * Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + * + * For `text`, `number`, `date`, `datetime`, `datetimesec` block + * + */ public String name() { return this.name; } public Optional number() { return Optional.ofNullable(this.number); } + /** + * @return The text of the query to be run. + * + */ public Optional query() { return Optional.ofNullable(this.query); } public Optional text() { return Optional.ofNullable(this.text); } + /** + * @return The text displayed in a parameter picking widget. + * + */ public Optional title() { return Optional.ofNullable(this.title); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDate.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDate.java index e1bd2854..2141ec51 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDate.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDate.java @@ -9,9 +9,17 @@ @CustomType public final class SqlQueryParameterDate { + /** + * @return The default value for this parameter. + * + */ private String value; private SqlQueryParameterDate() {} + /** + * @return The default value for this parameter. + * + */ public String value() { return this.value; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDateRange.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDateRange.java index 8d7df1ad..12f978b5 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDateRange.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDateRange.java @@ -13,12 +13,20 @@ @CustomType public final class SqlQueryParameterDateRange { private @Nullable SqlQueryParameterDateRangeRange range; + /** + * @return The default value for this parameter. + * + */ private @Nullable String value; private SqlQueryParameterDateRange() {} public Optional range() { return Optional.ofNullable(this.range); } + /** + * @return The default value for this parameter. + * + */ public Optional value() { return Optional.ofNullable(this.value); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetime.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetime.java index 7034118e..896f0ac6 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetime.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetime.java @@ -9,9 +9,17 @@ @CustomType public final class SqlQueryParameterDatetime { + /** + * @return The default value for this parameter. + * + */ private String value; private SqlQueryParameterDatetime() {} + /** + * @return The default value for this parameter. + * + */ public String value() { return this.value; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimeRange.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimeRange.java index bc973f93..2fe9bc8e 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimeRange.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimeRange.java @@ -13,12 +13,20 @@ @CustomType public final class SqlQueryParameterDatetimeRange { private @Nullable SqlQueryParameterDatetimeRangeRange range; + /** + * @return The default value for this parameter. + * + */ private @Nullable String value; private SqlQueryParameterDatetimeRange() {} public Optional range() { return Optional.ofNullable(this.range); } + /** + * @return The default value for this parameter. + * + */ public Optional value() { return Optional.ofNullable(this.value); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimesec.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimesec.java index c31ad362..969e6eb2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimesec.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimesec.java @@ -9,9 +9,17 @@ @CustomType public final class SqlQueryParameterDatetimesec { + /** + * @return The default value for this parameter. + * + */ private String value; private SqlQueryParameterDatetimesec() {} + /** + * @return The default value for this parameter. + * + */ public String value() { return this.value; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimesecRange.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimesecRange.java index 639c7a22..acc3c4f7 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimesecRange.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterDatetimesecRange.java @@ -13,12 +13,20 @@ @CustomType public final class SqlQueryParameterDatetimesecRange { private @Nullable SqlQueryParameterDatetimesecRangeRange range; + /** + * @return The default value for this parameter. + * + */ private @Nullable String value; private SqlQueryParameterDatetimesecRange() {} public Optional range() { return Optional.ofNullable(this.range); } + /** + * @return The default value for this parameter. + * + */ public Optional value() { return Optional.ofNullable(this.value); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterEnum.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterEnum.java index 3aef7825..303e131f 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterEnum.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterEnum.java @@ -15,6 +15,10 @@ public final class SqlQueryParameterEnum { private @Nullable SqlQueryParameterEnumMultiple multiple; private List options; + /** + * @return The default value for this parameter. + * + */ private @Nullable String value; private @Nullable List values; @@ -25,6 +29,10 @@ public Optional multiple() { public List options() { return this.options; } + /** + * @return The default value for this parameter. + * + */ public Optional value() { return Optional.ofNullable(this.value); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterNumber.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterNumber.java index 0ee470aa..68029b62 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterNumber.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterNumber.java @@ -9,9 +9,17 @@ @CustomType public final class SqlQueryParameterNumber { + /** + * @return The default value for this parameter. + * + */ private Double value; private SqlQueryParameterNumber() {} + /** + * @return The default value for this parameter. + * + */ public Double value() { return this.value; } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterQuery.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterQuery.java index 9f477192..bd19aa27 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterQuery.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterQuery.java @@ -15,6 +15,10 @@ public final class SqlQueryParameterQuery { private @Nullable SqlQueryParameterQueryMultiple multiple; private String queryId; + /** + * @return The default value for this parameter. + * + */ private @Nullable String value; private @Nullable List values; @@ -25,6 +29,10 @@ public Optional multiple() { public String queryId() { return this.queryId; } + /** + * @return The default value for this parameter. + * + */ public Optional value() { return Optional.ofNullable(this.value); } diff --git a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterText.java b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterText.java index 2aac6413..d5a6b9a2 100644 --- a/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterText.java +++ b/sdk/java/src/main/java/com/pulumi/databricks/outputs/SqlQueryParameterText.java @@ -9,9 +9,17 @@ @CustomType public final class SqlQueryParameterText { + /** + * @return The default value for this parameter. + * + */ private String value; private SqlQueryParameterText() {} + /** + * @return The default value for this parameter. + * + */ public String value() { return this.value; } diff --git a/sdk/nodejs/cluster.ts b/sdk/nodejs/cluster.ts index c859ad7d..5e51a46e 100644 --- a/sdk/nodejs/cluster.ts +++ b/sdk/nodejs/cluster.ts @@ -56,9 +56,6 @@ export class Cluster extends pulumi.CustomResource { public readonly azureAttributes!: pulumi.Output; public readonly clusterId!: pulumi.Output; public readonly clusterLogConf!: pulumi.Output; - /** - * @deprecated cluster_mount_info block is deprecated due the Clusters API changes. - */ public readonly clusterMountInfos!: pulumi.Output; /** * Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. @@ -288,9 +285,6 @@ export interface ClusterState { azureAttributes?: pulumi.Input; clusterId?: pulumi.Input; clusterLogConf?: pulumi.Input; - /** - * @deprecated cluster_mount_info block is deprecated due the Clusters API changes. - */ clusterMountInfos?: pulumi.Input[]>; /** * Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. @@ -427,9 +421,6 @@ export interface ClusterArgs { azureAttributes?: pulumi.Input; clusterId?: pulumi.Input; clusterLogConf?: pulumi.Input; - /** - * @deprecated cluster_mount_info block is deprecated due the Clusters API changes. - */ clusterMountInfos?: pulumi.Input[]>; /** * Cluster name, which doesn’t have to be unique. If not specified at creation, the cluster name will be an empty string. diff --git a/sdk/nodejs/grants.ts b/sdk/nodejs/grants.ts index 6ee46111..78d11ebc 100644 --- a/sdk/nodejs/grants.ts +++ b/sdk/nodejs/grants.ts @@ -41,6 +41,7 @@ export class Grants extends pulumi.CustomResource { public readonly grants!: pulumi.Output; public readonly materializedView!: pulumi.Output; public readonly metastore!: pulumi.Output; + public readonly model!: pulumi.Output; public readonly schema!: pulumi.Output; public readonly share!: pulumi.Output; public readonly storageCredential!: pulumi.Output; @@ -68,6 +69,7 @@ export class Grants extends pulumi.CustomResource { resourceInputs["grants"] = state ? state.grants : undefined; resourceInputs["materializedView"] = state ? state.materializedView : undefined; resourceInputs["metastore"] = state ? state.metastore : undefined; + resourceInputs["model"] = state ? state.model : undefined; resourceInputs["schema"] = state ? state.schema : undefined; resourceInputs["share"] = state ? state.share : undefined; resourceInputs["storageCredential"] = state ? state.storageCredential : undefined; @@ -86,6 +88,7 @@ export class Grants extends pulumi.CustomResource { resourceInputs["grants"] = args ? args.grants : undefined; resourceInputs["materializedView"] = args ? args.materializedView : undefined; resourceInputs["metastore"] = args ? args.metastore : undefined; + resourceInputs["model"] = args ? args.model : undefined; resourceInputs["schema"] = args ? args.schema : undefined; resourceInputs["share"] = args ? args.share : undefined; resourceInputs["storageCredential"] = args ? args.storageCredential : undefined; @@ -109,6 +112,7 @@ export interface GrantsState { grants?: pulumi.Input[]>; materializedView?: pulumi.Input; metastore?: pulumi.Input; + model?: pulumi.Input; schema?: pulumi.Input; share?: pulumi.Input; storageCredential?: pulumi.Input; @@ -128,6 +132,7 @@ export interface GrantsArgs { grants: pulumi.Input[]>; materializedView?: pulumi.Input; metastore?: pulumi.Input; + model?: pulumi.Input; schema?: pulumi.Input; share?: pulumi.Input; storageCredential?: pulumi.Input; diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 0880dcfb..27718177 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -415,6 +415,11 @@ export type Recipient = import("./recipient").Recipient; export const Recipient: typeof import("./recipient").Recipient = null as any; utilities.lazyLoad(exports, ["Recipient"], () => require("./recipient")); +export { RegisteredModelArgs, RegisteredModelState } from "./registeredModel"; +export type RegisteredModel = import("./registeredModel").RegisteredModel; +export const RegisteredModel: typeof import("./registeredModel").RegisteredModel = null as any; +utilities.lazyLoad(exports, ["RegisteredModel"], () => require("./registeredModel")); + export { RepoArgs, RepoState } from "./repo"; export type Repo = import("./repo").Repo; export const Repo: typeof import("./repo").Repo = null as any; @@ -510,6 +515,11 @@ export type StorageCredential = import("./storageCredential").StorageCredential; export const StorageCredential: typeof import("./storageCredential").StorageCredential = null as any; utilities.lazyLoad(exports, ["StorageCredential"], () => require("./storageCredential")); +export { SystemSchemaArgs, SystemSchemaState } from "./systemSchema"; +export type SystemSchema = import("./systemSchema").SystemSchema; +export const SystemSchema: typeof import("./systemSchema").SystemSchema = null as any; +utilities.lazyLoad(exports, ["SystemSchema"], () => require("./systemSchema")); + export { TableArgs, TableState } from "./table"; export type Table = import("./table").Table; export const Table: typeof import("./table").Table = null as any; @@ -656,6 +666,8 @@ const _module = { return new Pipeline(name, undefined, { urn }) case "databricks:index/recipient:Recipient": return new Recipient(name, undefined, { urn }) + case "databricks:index/registeredModel:RegisteredModel": + return new RegisteredModel(name, undefined, { urn }) case "databricks:index/repo:Repo": return new Repo(name, undefined, { urn }) case "databricks:index/schema:Schema": @@ -694,6 +706,8 @@ const _module = { return new SqlWidget(name, undefined, { urn }) case "databricks:index/storageCredential:StorageCredential": return new StorageCredential(name, undefined, { urn }) + case "databricks:index/systemSchema:SystemSchema": + return new SystemSchema(name, undefined, { urn }) case "databricks:index/table:Table": return new Table(name, undefined, { urn }) case "databricks:index/token:Token": @@ -761,6 +775,7 @@ pulumi.runtime.registerResourceModule("databricks", "index/permissionAssignment" pulumi.runtime.registerResourceModule("databricks", "index/permissions", _module) pulumi.runtime.registerResourceModule("databricks", "index/pipeline", _module) pulumi.runtime.registerResourceModule("databricks", "index/recipient", _module) +pulumi.runtime.registerResourceModule("databricks", "index/registeredModel", _module) pulumi.runtime.registerResourceModule("databricks", "index/repo", _module) pulumi.runtime.registerResourceModule("databricks", "index/schema", _module) pulumi.runtime.registerResourceModule("databricks", "index/secret", _module) @@ -780,6 +795,7 @@ pulumi.runtime.registerResourceModule("databricks", "index/sqlTable", _module) pulumi.runtime.registerResourceModule("databricks", "index/sqlVisualization", _module) pulumi.runtime.registerResourceModule("databricks", "index/sqlWidget", _module) pulumi.runtime.registerResourceModule("databricks", "index/storageCredential", _module) +pulumi.runtime.registerResourceModule("databricks", "index/systemSchema", _module) pulumi.runtime.registerResourceModule("databricks", "index/table", _module) pulumi.runtime.registerResourceModule("databricks", "index/token", _module) pulumi.runtime.registerResourceModule("databricks", "index/user", _module) diff --git a/sdk/nodejs/mlflowExperiment.ts b/sdk/nodejs/mlflowExperiment.ts index c39e2043..38ea247a 100644 --- a/sdk/nodejs/mlflowExperiment.ts +++ b/sdk/nodejs/mlflowExperiment.ts @@ -27,9 +27,10 @@ import * as utilities from "./utilities"; * * The following resources are often used in the same context: * + * * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * * End to end workspace management guide. * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + * * databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * * databricks.Notebook data to export a notebook from Databricks Workspace. * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/nodejs/mlflowModel.ts b/sdk/nodejs/mlflowModel.ts index a8589381..f0edd057 100644 --- a/sdk/nodejs/mlflowModel.ts +++ b/sdk/nodejs/mlflowModel.ts @@ -9,6 +9,8 @@ import * as utilities from "./utilities"; /** * This resource allows you to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. * + * **Note** This documentation covers the Workspace Model Registry. Databricks recommends using Models in Unity Catalog. Models in Unity Catalog provides centralized model governance, cross-workspace access, lineage, and deployment. + * * ## Example Usage * * ```typescript @@ -37,6 +39,7 @@ import * as utilities from "./utilities"; * * The following resources are often used in the same context: * + * * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * * End to end workspace management guide. * * databricks.ModelServing to serve this model on a Databricks serving endpoint. * * databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). diff --git a/sdk/nodejs/modelServing.ts b/sdk/nodejs/modelServing.ts index fdcaf93d..4a54c4cb 100644 --- a/sdk/nodejs/modelServing.ts +++ b/sdk/nodejs/modelServing.ts @@ -54,9 +54,10 @@ import * as utilities from "./utilities"; * * The following resources are often used in the same context: * + * * databricks.RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * * End to end workspace management guide. * * databricks.Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). - * * databricks.MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + * * databricks.MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * * databricks.Notebook data to export a notebook from Databricks Workspace. * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/nodejs/registeredModel.ts b/sdk/nodejs/registeredModel.ts new file mode 100644 index 00000000..1a1fa987 --- /dev/null +++ b/sdk/nodejs/registeredModel.ts @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const _this = new databricks.RegisteredModel("this", { + * catalogName: "main", + * schemaName: "default", + * }); + * ``` + * ## Access Control + * + * * databricks.Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges. + * + * ## Related Resources + * + * The following resources are often used in the same context: + * + * * databricks.ModelServing to serve this model on a Databricks serving endpoint. + * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. + * * databricks.Table data to manage tables within Unity Catalog. + * * databricks.Schema data to manage schemas within Unity Catalog. + * * databricks.Catalog data to manage catalogs within Unity Catalog. + * + * ## Import + * + * The registered model resource can be imported using the full (3-level) name of the model. bash + * + * ```sh + * $ pulumi import databricks:index/registeredModel:RegisteredModel this + * ``` + */ +export class RegisteredModel extends pulumi.CustomResource { + /** + * Get an existing RegisteredModel resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: RegisteredModelState, opts?: pulumi.CustomResourceOptions): RegisteredModel { + return new RegisteredModel(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/registeredModel:RegisteredModel'; + + /** + * Returns true if the given object is an instance of RegisteredModel. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is RegisteredModel { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === RegisteredModel.__pulumiType; + } + + /** + * The name of the catalog where the schema and the registered model reside. + */ + public readonly catalogName!: pulumi.Output; + /** + * The comment attached to the registered model. + */ + public readonly comment!: pulumi.Output; + /** + * The name of the registered model. + */ + public readonly name!: pulumi.Output; + /** + * The name of the schema where the registered model resides. + */ + public readonly schemaName!: pulumi.Output; + public readonly storageLocation!: pulumi.Output; + + /** + * Create a RegisteredModel resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: RegisteredModelArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: RegisteredModelArgs | RegisteredModelState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as RegisteredModelState | undefined; + resourceInputs["catalogName"] = state ? state.catalogName : undefined; + resourceInputs["comment"] = state ? state.comment : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["schemaName"] = state ? state.schemaName : undefined; + resourceInputs["storageLocation"] = state ? state.storageLocation : undefined; + } else { + const args = argsOrState as RegisteredModelArgs | undefined; + if ((!args || args.catalogName === undefined) && !opts.urn) { + throw new Error("Missing required property 'catalogName'"); + } + if ((!args || args.schemaName === undefined) && !opts.urn) { + throw new Error("Missing required property 'schemaName'"); + } + resourceInputs["catalogName"] = args ? args.catalogName : undefined; + resourceInputs["comment"] = args ? args.comment : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["schemaName"] = args ? args.schemaName : undefined; + resourceInputs["storageLocation"] = args ? args.storageLocation : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(RegisteredModel.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering RegisteredModel resources. + */ +export interface RegisteredModelState { + /** + * The name of the catalog where the schema and the registered model reside. + */ + catalogName?: pulumi.Input; + /** + * The comment attached to the registered model. + */ + comment?: pulumi.Input; + /** + * The name of the registered model. + */ + name?: pulumi.Input; + /** + * The name of the schema where the registered model resides. + */ + schemaName?: pulumi.Input; + storageLocation?: pulumi.Input; +} + +/** + * The set of arguments for constructing a RegisteredModel resource. + */ +export interface RegisteredModelArgs { + /** + * The name of the catalog where the schema and the registered model reside. + */ + catalogName: pulumi.Input; + /** + * The comment attached to the registered model. + */ + comment?: pulumi.Input; + /** + * The name of the registered model. + */ + name?: pulumi.Input; + /** + * The name of the schema where the registered model resides. + */ + schemaName: pulumi.Input; + storageLocation?: pulumi.Input; +} diff --git a/sdk/nodejs/schema.ts b/sdk/nodejs/schema.ts index c69defa9..6aab0931 100644 --- a/sdk/nodejs/schema.ts +++ b/sdk/nodejs/schema.ts @@ -100,7 +100,7 @@ export class Schema extends pulumi.CustomResource { */ public readonly properties!: pulumi.Output<{[key: string]: any} | undefined>; /** - * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. */ public readonly storageRoot!: pulumi.Output; @@ -174,7 +174,7 @@ export interface SchemaState { */ properties?: pulumi.Input<{[key: string]: any}>; /** - * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. */ storageRoot?: pulumi.Input; } @@ -209,7 +209,7 @@ export interface SchemaArgs { */ properties?: pulumi.Input<{[key: string]: any}>; /** - * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. */ storageRoot?: pulumi.Input; } diff --git a/sdk/nodejs/secretAcl.ts b/sdk/nodejs/secretAcl.ts index 0c7a8950..88811d46 100644 --- a/sdk/nodejs/secretAcl.ts +++ b/sdk/nodejs/secretAcl.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * - * This way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault. + * This way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -80,7 +80,7 @@ export class SecretAcl extends pulumi.CustomResource { */ public readonly permission!: pulumi.Output; /** - * name of the principals. It can be `users` for all users or name or `displayName` of databricks_group + * principal's identifier. It can be: */ public readonly principal!: pulumi.Output; /** @@ -133,7 +133,7 @@ export interface SecretAclState { */ permission?: pulumi.Input; /** - * name of the principals. It can be `users` for all users or name or `displayName` of databricks_group + * principal's identifier. It can be: */ principal?: pulumi.Input; /** @@ -151,7 +151,7 @@ export interface SecretAclArgs { */ permission: pulumi.Input; /** - * name of the principals. It can be `users` for all users or name or `displayName` of databricks_group + * principal's identifier. It can be: */ principal: pulumi.Input; /** diff --git a/sdk/nodejs/sqlDashboard.ts b/sdk/nodejs/sqlDashboard.ts index fa5baea6..8053b92d 100644 --- a/sdk/nodejs/sqlDashboard.ts +++ b/sdk/nodejs/sqlDashboard.ts @@ -87,6 +87,7 @@ export class SqlDashboard extends pulumi.CustomResource { } public readonly createdAt!: pulumi.Output; + public readonly dashboardFiltersEnabled!: pulumi.Output; public readonly name!: pulumi.Output; public readonly parent!: pulumi.Output; public readonly tags!: pulumi.Output; @@ -106,6 +107,7 @@ export class SqlDashboard extends pulumi.CustomResource { if (opts.id) { const state = argsOrState as SqlDashboardState | undefined; resourceInputs["createdAt"] = state ? state.createdAt : undefined; + resourceInputs["dashboardFiltersEnabled"] = state ? state.dashboardFiltersEnabled : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["parent"] = state ? state.parent : undefined; resourceInputs["tags"] = state ? state.tags : undefined; @@ -113,6 +115,7 @@ export class SqlDashboard extends pulumi.CustomResource { } else { const args = argsOrState as SqlDashboardArgs | undefined; resourceInputs["createdAt"] = args ? args.createdAt : undefined; + resourceInputs["dashboardFiltersEnabled"] = args ? args.dashboardFiltersEnabled : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["parent"] = args ? args.parent : undefined; resourceInputs["tags"] = args ? args.tags : undefined; @@ -128,6 +131,7 @@ export class SqlDashboard extends pulumi.CustomResource { */ export interface SqlDashboardState { createdAt?: pulumi.Input; + dashboardFiltersEnabled?: pulumi.Input; name?: pulumi.Input; parent?: pulumi.Input; tags?: pulumi.Input[]>; @@ -139,6 +143,7 @@ export interface SqlDashboardState { */ export interface SqlDashboardArgs { createdAt?: pulumi.Input; + dashboardFiltersEnabled?: pulumi.Input; name?: pulumi.Input; parent?: pulumi.Input; tags?: pulumi.Input[]>; diff --git a/sdk/nodejs/sqlQuery.ts b/sdk/nodejs/sqlQuery.ts index 55fc95ff..a79009a8 100644 --- a/sdk/nodejs/sqlQuery.ts +++ b/sdk/nodejs/sqlQuery.ts @@ -143,12 +143,30 @@ export class SqlQuery extends pulumi.CustomResource { } public readonly createdAt!: pulumi.Output; + /** + * Data source ID of a SQL warehouse + */ public readonly dataSourceId!: pulumi.Output; + /** + * General description that conveys additional information about this query such as usage notes. + */ public readonly description!: pulumi.Output; + /** + * The title of this query that appears in list views, widget headings, and on the query page. + */ public readonly name!: pulumi.Output; public readonly parameters!: pulumi.Output; + /** + * The identifier of the workspace folder containing the object. + */ public readonly parent!: pulumi.Output; + /** + * The text of the query to be run. + */ public readonly query!: pulumi.Output; + /** + * Run as role. Possible values are `viewer`, `owner`. + */ public readonly runAsRole!: pulumi.Output; /** * @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`. @@ -211,12 +229,30 @@ export class SqlQuery extends pulumi.CustomResource { */ export interface SqlQueryState { createdAt?: pulumi.Input; + /** + * Data source ID of a SQL warehouse + */ dataSourceId?: pulumi.Input; + /** + * General description that conveys additional information about this query such as usage notes. + */ description?: pulumi.Input; + /** + * The title of this query that appears in list views, widget headings, and on the query page. + */ name?: pulumi.Input; parameters?: pulumi.Input[]>; + /** + * The identifier of the workspace folder containing the object. + */ parent?: pulumi.Input; + /** + * The text of the query to be run. + */ query?: pulumi.Input; + /** + * Run as role. Possible values are `viewer`, `owner`. + */ runAsRole?: pulumi.Input; /** * @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`. @@ -231,12 +267,30 @@ export interface SqlQueryState { */ export interface SqlQueryArgs { createdAt?: pulumi.Input; + /** + * Data source ID of a SQL warehouse + */ dataSourceId: pulumi.Input; + /** + * General description that conveys additional information about this query such as usage notes. + */ description?: pulumi.Input; + /** + * The title of this query that appears in list views, widget headings, and on the query page. + */ name?: pulumi.Input; parameters?: pulumi.Input[]>; + /** + * The identifier of the workspace folder containing the object. + */ parent?: pulumi.Input; + /** + * The text of the query to be run. + */ query: pulumi.Input; + /** + * Run as role. Possible values are `viewer`, `owner`. + */ runAsRole?: pulumi.Input; /** * @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`. diff --git a/sdk/nodejs/systemSchema.ts b/sdk/nodejs/systemSchema.ts new file mode 100644 index 00000000..e81f12b5 --- /dev/null +++ b/sdk/nodejs/systemSchema.ts @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + * + * > **Notes** + * Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future. + * + * Manages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin. + * + * ## Example Usage + * + * Enable the system schema `access` + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as databricks from "@pulumi/databricks"; + * + * const _this = new databricks.SystemSchema("this", {schema: "access"}); + * ``` + * + * ## Import + * + * This resource can be imported by the metastore id and schema name bash + * + * ```sh + * $ pulumi import databricks:index/systemSchema:SystemSchema this | + * ``` + */ +export class SystemSchema extends pulumi.CustomResource { + /** + * Get an existing SystemSchema resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: SystemSchemaState, opts?: pulumi.CustomResourceOptions): SystemSchema { + return new SystemSchema(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'databricks:index/systemSchema:SystemSchema'; + + /** + * Returns true if the given object is an instance of SystemSchema. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is SystemSchema { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SystemSchema.__pulumiType; + } + + public /*out*/ readonly metastoreId!: pulumi.Output; + /** + * Full name of the system schema. + */ + public readonly schema!: pulumi.Output; + /** + * The current state of enablement for the system schema. + */ + public readonly state!: pulumi.Output; + + /** + * Create a SystemSchema resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: SystemSchemaArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SystemSchemaArgs | SystemSchemaState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SystemSchemaState | undefined; + resourceInputs["metastoreId"] = state ? state.metastoreId : undefined; + resourceInputs["schema"] = state ? state.schema : undefined; + resourceInputs["state"] = state ? state.state : undefined; + } else { + const args = argsOrState as SystemSchemaArgs | undefined; + resourceInputs["schema"] = args ? args.schema : undefined; + resourceInputs["state"] = args ? args.state : undefined; + resourceInputs["metastoreId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(SystemSchema.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering SystemSchema resources. + */ +export interface SystemSchemaState { + metastoreId?: pulumi.Input; + /** + * Full name of the system schema. + */ + schema?: pulumi.Input; + /** + * The current state of enablement for the system schema. + */ + state?: pulumi.Input; +} + +/** + * The set of arguments for constructing a SystemSchema resource. + */ +export interface SystemSchemaArgs { + /** + * Full name of the system schema. + */ + schema?: pulumi.Input; + /** + * The current state of enablement for the system schema. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 349497cb..11da1806 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -98,6 +98,7 @@ "pipeline.ts", "provider.ts", "recipient.ts", + "registeredModel.ts", "repo.ts", "schema.ts", "secret.ts", @@ -117,6 +118,7 @@ "sqlVisualization.ts", "sqlWidget.ts", "storageCredential.ts", + "systemSchema.ts", "table.ts", "token.ts", "types/index.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 06194b7a..04f3cf46 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -1802,9 +1802,11 @@ export interface GetJobJobSettingsSettingsPythonWheelTaskArgs { } export interface GetJobJobSettingsSettingsQueue { + enabled: boolean; } export interface GetJobJobSettingsSettingsQueueArgs { + enabled: pulumi.Input; } export interface GetJobJobSettingsSettingsRunAs { @@ -3577,13 +3579,14 @@ export interface JobPythonWheelTask { } export interface JobQueue { + enabled: pulumi.Input; } export interface JobRunAs { /** * The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. * - * Example + * Example: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -4529,6 +4532,10 @@ export interface ModelServingConfigServedModel { * The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 provisioned concurrency). */ workloadSize: pulumi.Input; + /** + * The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + */ + workloadType?: pulumi.Input; } export interface ModelServingConfigTrafficConfig { @@ -5030,6 +5037,10 @@ export interface SqlAlertOptions { * Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. */ customSubject?: pulumi.Input; + /** + * State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + */ + emptyResultState?: pulumi.Input; /** * Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. */ @@ -5089,19 +5100,37 @@ export interface SqlQueryParameter { datetimesec?: pulumi.Input; datetimesecRange?: pulumi.Input; enum?: pulumi.Input; + /** + * The literal parameter marker that appears between double curly braces in the query text. + * Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. + * + * For `text`, `number`, `date`, `datetime`, `datetimesec` block + */ name: pulumi.Input; number?: pulumi.Input; + /** + * The text of the query to be run. + */ query?: pulumi.Input; text?: pulumi.Input; + /** + * The text displayed in a parameter picking widget. + */ title?: pulumi.Input; } export interface SqlQueryParameterDate { + /** + * The default value for this parameter. + */ value: pulumi.Input; } export interface SqlQueryParameterDateRange { range?: pulumi.Input; + /** + * The default value for this parameter. + */ value?: pulumi.Input; } @@ -5111,11 +5140,17 @@ export interface SqlQueryParameterDateRangeRange { } export interface SqlQueryParameterDatetime { + /** + * The default value for this parameter. + */ value: pulumi.Input; } export interface SqlQueryParameterDatetimeRange { range?: pulumi.Input; + /** + * The default value for this parameter. + */ value?: pulumi.Input; } @@ -5125,11 +5160,17 @@ export interface SqlQueryParameterDatetimeRangeRange { } export interface SqlQueryParameterDatetimesec { + /** + * The default value for this parameter. + */ value: pulumi.Input; } export interface SqlQueryParameterDatetimesecRange { range?: pulumi.Input; + /** + * The default value for this parameter. + */ value?: pulumi.Input; } @@ -5141,6 +5182,9 @@ export interface SqlQueryParameterDatetimesecRangeRange { export interface SqlQueryParameterEnum { multiple?: pulumi.Input; options: pulumi.Input[]>; + /** + * The default value for this parameter. + */ value?: pulumi.Input; values?: pulumi.Input[]>; } @@ -5152,12 +5196,18 @@ export interface SqlQueryParameterEnumMultiple { } export interface SqlQueryParameterNumber { + /** + * The default value for this parameter. + */ value: pulumi.Input; } export interface SqlQueryParameterQuery { multiple?: pulumi.Input; queryId: pulumi.Input; + /** + * The default value for this parameter. + */ value?: pulumi.Input; values?: pulumi.Input[]>; } @@ -5169,6 +5219,9 @@ export interface SqlQueryParameterQueryMultiple { } export interface SqlQueryParameterText { + /** + * The default value for this parameter. + */ value: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 57f78db4..72bf02e3 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -1003,6 +1003,7 @@ export interface GetJobJobSettingsSettingsPythonWheelTask { } export interface GetJobJobSettingsSettingsQueue { + enabled: boolean; } export interface GetJobJobSettingsSettingsRunAs { @@ -2267,13 +2268,14 @@ export interface JobPythonWheelTask { } export interface JobQueue { + enabled: boolean; } export interface JobRunAs { /** * The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. * - * Example + * Example: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -3120,13 +3122,13 @@ export interface MetastoreDataAccessAzureServicePrincipal { } export interface MetastoreDataAccessDatabricksGcpServiceAccount { - credentialId?: string; + credentialId: string; /** * The email of the GCP service account created, to be granted access to relevant buckets. * * `azureServicePrincipal` optional configuration block for credential details for Azure (Legacy): */ - email?: string; + email: string; } export interface MetastoreDataAccessGcpServiceAccountKey { @@ -3219,6 +3221,10 @@ export interface ModelServingConfigServedModel { * The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 provisioned concurrency). */ workloadSize: string; + /** + * The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + */ + workloadType?: string; } export interface ModelServingConfigTrafficConfig { @@ -3720,6 +3726,10 @@ export interface SqlAlertOptions { * Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. */ customSubject?: string; + /** + * State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + */ + emptyResultState?: string; /** * Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. */ @@ -3779,19 +3789,37 @@ export interface SqlQueryParameter { datetimesec?: outputs.SqlQueryParameterDatetimesec; datetimesecRange?: outputs.SqlQueryParameterDatetimesecRange; enum?: outputs.SqlQueryParameterEnum; + /** + * The literal parameter marker that appears between double curly braces in the query text. + * Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `dateRange`, `datetimeRange`, `datetimesecRange`. + * + * For `text`, `number`, `date`, `datetime`, `datetimesec` block + */ name: string; number?: outputs.SqlQueryParameterNumber; + /** + * The text of the query to be run. + */ query?: outputs.SqlQueryParameterQuery; text?: outputs.SqlQueryParameterText; + /** + * The text displayed in a parameter picking widget. + */ title?: string; } export interface SqlQueryParameterDate { + /** + * The default value for this parameter. + */ value: string; } export interface SqlQueryParameterDateRange { range?: outputs.SqlQueryParameterDateRangeRange; + /** + * The default value for this parameter. + */ value?: string; } @@ -3801,11 +3829,17 @@ export interface SqlQueryParameterDateRangeRange { } export interface SqlQueryParameterDatetime { + /** + * The default value for this parameter. + */ value: string; } export interface SqlQueryParameterDatetimeRange { range?: outputs.SqlQueryParameterDatetimeRangeRange; + /** + * The default value for this parameter. + */ value?: string; } @@ -3815,11 +3849,17 @@ export interface SqlQueryParameterDatetimeRangeRange { } export interface SqlQueryParameterDatetimesec { + /** + * The default value for this parameter. + */ value: string; } export interface SqlQueryParameterDatetimesecRange { range?: outputs.SqlQueryParameterDatetimesecRangeRange; + /** + * The default value for this parameter. + */ value?: string; } @@ -3831,6 +3871,9 @@ export interface SqlQueryParameterDatetimesecRangeRange { export interface SqlQueryParameterEnum { multiple?: outputs.SqlQueryParameterEnumMultiple; options: string[]; + /** + * The default value for this parameter. + */ value?: string; values?: string[]; } @@ -3842,12 +3885,18 @@ export interface SqlQueryParameterEnumMultiple { } export interface SqlQueryParameterNumber { + /** + * The default value for this parameter. + */ value: number; } export interface SqlQueryParameterQuery { multiple?: outputs.SqlQueryParameterQueryMultiple; queryId: string; + /** + * The default value for this parameter. + */ value?: string; values?: string[]; } @@ -3859,6 +3908,9 @@ export interface SqlQueryParameterQueryMultiple { } export interface SqlQueryParameterText { + /** + * The default value for this parameter. + */ value: string; } @@ -3961,11 +4013,11 @@ export interface StorageCredentialAzureServicePrincipal { } export interface StorageCredentialDatabricksGcpServiceAccount { - credentialId?: string; + credentialId: string; /** * The email of the GCP service account created, to be granted access to relevant buckets. */ - email?: string; + email: string; } export interface StorageCredentialGcpServiceAccountKey { diff --git a/sdk/nodejs/user.ts b/sdk/nodejs/user.ts index 5b5db720..428b7527 100644 --- a/sdk/nodejs/user.ts +++ b/sdk/nodejs/user.ts @@ -189,7 +189,7 @@ export class User extends pulumi.CustomResource { */ public readonly repos!: pulumi.Output; /** - * This is the username of the given user and will be their form of access and identity. + * This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. */ public readonly userName!: pulumi.Output; public readonly workspaceAccess!: pulumi.Output; @@ -302,7 +302,7 @@ export interface UserState { */ repos?: pulumi.Input; /** - * This is the username of the given user and will be their form of access and identity. + * This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. */ userName?: pulumi.Input; workspaceAccess?: pulumi.Input; @@ -362,7 +362,7 @@ export interface UserArgs { */ repos?: pulumi.Input; /** - * This is the username of the given user and will be their form of access and identity. + * This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. */ userName: pulumi.Input; workspaceAccess?: pulumi.Input; diff --git a/sdk/nodejs/volume.ts b/sdk/nodejs/volume.ts index 8d0e6e48..7ffe7c7a 100644 --- a/sdk/nodejs/volume.ts +++ b/sdk/nodejs/volume.ts @@ -120,11 +120,11 @@ export class Volume extends pulumi.CustomResource { */ public readonly schemaName!: pulumi.Output; /** - * Path inside an External Location. Only used for `EXTERNAL` Volumes. + * Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. */ public readonly storageLocation!: pulumi.Output; /** - * Volume type. `EXTERNAL` or `MANAGED`. + * Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. */ public readonly volumeType!: pulumi.Output; @@ -197,11 +197,11 @@ export interface VolumeState { */ schemaName?: pulumi.Input; /** - * Path inside an External Location. Only used for `EXTERNAL` Volumes. + * Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. */ storageLocation?: pulumi.Input; /** - * Volume type. `EXTERNAL` or `MANAGED`. + * Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. */ volumeType?: pulumi.Input; } @@ -231,11 +231,11 @@ export interface VolumeArgs { */ schemaName: pulumi.Input; /** - * Path inside an External Location. Only used for `EXTERNAL` Volumes. + * Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. */ storageLocation?: pulumi.Input; /** - * Volume type. `EXTERNAL` or `MANAGED`. + * Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. */ volumeType: pulumi.Input; } diff --git a/sdk/python/pulumi_databricks/__init__.py b/sdk/python/pulumi_databricks/__init__.py index 3087730a..be8c52bb 100644 --- a/sdk/python/pulumi_databricks/__init__.py +++ b/sdk/python/pulumi_databricks/__init__.py @@ -87,6 +87,7 @@ from .pipeline import * from .provider import * from .recipient import * +from .registered_model import * from .repo import * from .schema import * from .secret import * @@ -106,6 +107,7 @@ from .sql_visualization import * from .sql_widget import * from .storage_credential import * +from .system_schema import * from .table import * from .token import * from .user import * @@ -495,6 +497,14 @@ "databricks:index/recipient:Recipient": "Recipient" } }, + { + "pkg": "databricks", + "mod": "index/registeredModel", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/registeredModel:RegisteredModel": "RegisteredModel" + } + }, { "pkg": "databricks", "mod": "index/repo", @@ -647,6 +657,14 @@ "databricks:index/storageCredential:StorageCredential": "StorageCredential" } }, + { + "pkg": "databricks", + "mod": "index/systemSchema", + "fqn": "pulumi_databricks", + "classes": { + "databricks:index/systemSchema:SystemSchema": "SystemSchema" + } + }, { "pkg": "databricks", "mod": "index/table", diff --git a/sdk/python/pulumi_databricks/_inputs.py b/sdk/python/pulumi_databricks/_inputs.py index b71f0435..782cad92 100644 --- a/sdk/python/pulumi_databricks/_inputs.py +++ b/sdk/python/pulumi_databricks/_inputs.py @@ -473,7 +473,9 @@ def _configure( _setter: Callable[[Any, Any], None], role: pulumi.Input[str], principals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("role", role) if principals is not None: _setter("principals", principals) @@ -525,7 +527,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[pulumi.Input[int]] = None, min_workers: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -583,7 +591,23 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, spot_bid_price_percent: Optional[pulumi.Input[int]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -692,7 +716,13 @@ def _configure( availability: Optional[pulumi.Input[str]] = None, first_on_demand: Optional[pulumi.Input[int]] = None, spot_bid_max_price: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -743,7 +773,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional[pulumi.Input['ClusterClusterLogConfDbfsArgs']] = None, s3: Optional[pulumi.Input['ClusterClusterLogConfS3Args']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -780,7 +812,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -823,7 +857,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -920,7 +964,15 @@ def _configure( local_mount_dir_path: pulumi.Input[str], network_filesystem_info: pulumi.Input['ClusterClusterMountInfoNetworkFilesystemInfoArgs'], remote_mount_dir_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -969,7 +1021,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: pulumi.Input[str], mount_options: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -1008,7 +1066,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: pulumi.Input[str], basic_auth: Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -1047,7 +1109,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: pulumi.Input[str], username: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -1097,7 +1161,19 @@ def _configure( local_ssd_count: Optional[pulumi.Input[int]] = None, use_preemptible_executors: Optional[pulumi.Input[bool]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -1202,7 +1278,9 @@ def _configure( s3: Optional[pulumi.Input['ClusterInitScriptS3Args']] = None, volumes: Optional[pulumi.Input['ClusterInitScriptVolumesArgs']] = None, workspace: Optional[pulumi.Input['ClusterInitScriptWorkspaceArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -1300,7 +1378,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1326,7 +1406,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -1351,7 +1433,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1377,7 +1461,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1421,7 +1507,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -1512,7 +1608,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1538,7 +1636,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1579,7 +1679,9 @@ def _configure( maven: Optional[pulumi.Input['ClusterLibraryMavenArgs']] = None, pypi: Optional[pulumi.Input['ClusterLibraryPypiArgs']] = None, whl: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -1663,7 +1765,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -1705,7 +1809,9 @@ def _configure( coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -1755,7 +1861,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -1791,7 +1899,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: pulumi.Input['ClusterWorkloadTypeClientsArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -1819,7 +1929,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[pulumi.Input[bool]] = None, notebooks: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -1856,7 +1968,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], sse_encryption_details: Optional[pulumi.Input['ExternalLocationEncryptionDetailsSseEncryptionDetailsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sseEncryptionDetails' in kwargs: + sse_encryption_details = kwargs['sseEncryptionDetails'] + if sse_encryption_details is not None: _setter("sse_encryption_details", sse_encryption_details) @@ -1885,7 +2001,11 @@ def _configure( _setter: Callable[[Any, Any], None], algorithm: Optional[pulumi.Input[str]] = None, aws_kms_key_arn: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsKmsKeyArn' in kwargs: + aws_kms_key_arn = kwargs['awsKmsKeyArn'] + if algorithm is not None: _setter("algorithm", algorithm) if aws_kms_key_arn is not None: @@ -1925,7 +2045,9 @@ def _configure( _setter: Callable[[Any, Any], None], principal: pulumi.Input[str], privileges: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("principal", principal) _setter("privileges", privileges) @@ -1971,7 +2093,13 @@ def _configure( availability: Optional[pulumi.Input[str]] = None, spot_bid_price_percent: Optional[pulumi.Input[int]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if spot_bid_price_percent is not None: @@ -2035,7 +2163,11 @@ def _configure( _setter: Callable[[Any, Any], None], availability: Optional[pulumi.Input[str]] = None, spot_bid_max_price: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if spot_bid_max_price is not None: @@ -2088,7 +2220,15 @@ def _configure( disk_count: Optional[pulumi.Input[int]] = None, disk_size: Optional[pulumi.Input[int]] = None, disk_type: Optional[pulumi.Input['InstancePoolDiskSpecDiskTypeArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'diskCount' in kwargs: + disk_count = kwargs['diskCount'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if disk_count is not None: _setter("disk_count", disk_count) if disk_size is not None: @@ -2145,7 +2285,13 @@ def _configure( _setter: Callable[[Any, Any], None], azure_disk_volume_type: Optional[pulumi.Input[str]] = None, ebs_volume_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'azureDiskVolumeType' in kwargs: + azure_disk_volume_type = kwargs['azureDiskVolumeType'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if azure_disk_volume_type is not None: _setter("azure_disk_volume_type", azure_disk_volume_type) if ebs_volume_type is not None: @@ -2189,7 +2335,13 @@ def _configure( _setter: Callable[[Any, Any], None], gcp_availability: Optional[pulumi.Input[str]] = None, local_ssd_count: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gcpAvailability' in kwargs: + gcp_availability = kwargs['gcpAvailability'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if gcp_availability is not None: _setter("gcp_availability", gcp_availability) if local_ssd_count is not None: @@ -2238,7 +2390,15 @@ def _configure( launch_template_overrides: pulumi.Input[Sequence[pulumi.Input['InstancePoolInstancePoolFleetAttributesLaunchTemplateOverrideArgs']]], fleet_on_demand_option: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetOnDemandOptionArgs']] = None, fleet_spot_option: Optional[pulumi.Input['InstancePoolInstancePoolFleetAttributesFleetSpotOptionArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'launchTemplateOverrides' in kwargs: + launch_template_overrides = kwargs['launchTemplateOverrides'] + if 'fleetOnDemandOption' in kwargs: + fleet_on_demand_option = kwargs['fleetOnDemandOption'] + if 'fleetSpotOption' in kwargs: + fleet_spot_option = kwargs['fleetSpotOption'] + _setter("launch_template_overrides", launch_template_overrides) if fleet_on_demand_option is not None: _setter("fleet_on_demand_option", fleet_on_demand_option) @@ -2288,7 +2448,13 @@ def _configure( _setter: Callable[[Any, Any], None], allocation_strategy: pulumi.Input[str], instance_pools_to_use_count: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allocationStrategy' in kwargs: + allocation_strategy = kwargs['allocationStrategy'] + if 'instancePoolsToUseCount' in kwargs: + instance_pools_to_use_count = kwargs['instancePoolsToUseCount'] + _setter("allocation_strategy", allocation_strategy) if instance_pools_to_use_count is not None: _setter("instance_pools_to_use_count", instance_pools_to_use_count) @@ -2327,7 +2493,13 @@ def _configure( _setter: Callable[[Any, Any], None], allocation_strategy: pulumi.Input[str], instance_pools_to_use_count: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allocationStrategy' in kwargs: + allocation_strategy = kwargs['allocationStrategy'] + if 'instancePoolsToUseCount' in kwargs: + instance_pools_to_use_count = kwargs['instancePoolsToUseCount'] + _setter("allocation_strategy", allocation_strategy) if instance_pools_to_use_count is not None: _setter("instance_pools_to_use_count", instance_pools_to_use_count) @@ -2366,7 +2538,13 @@ def _configure( _setter: Callable[[Any, Any], None], availability_zone: pulumi.Input[str], instance_type: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + _setter("availability_zone", availability_zone) _setter("instance_type", instance_type) @@ -2404,7 +2582,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: pulumi.Input[str], basic_auth: Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -2443,7 +2625,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: pulumi.Input[str], username: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -2481,7 +2665,11 @@ def _configure( _setter: Callable[[Any, Any], None], compute_key: Optional[pulumi.Input[str]] = None, spec: Optional[pulumi.Input['JobComputeSpecArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'computeKey' in kwargs: + compute_key = kwargs['computeKey'] + if compute_key is not None: _setter("compute_key", compute_key) if spec is not None: @@ -2518,7 +2706,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], kind: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if kind is not None: _setter("kind", kind) @@ -2547,7 +2737,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], pause_status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + if pause_status is not None: _setter("pause_status", pause_status) @@ -2601,7 +2795,15 @@ def _configure( project_directory: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, warehouse_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'profilesDirectory' in kwargs: + profiles_directory = kwargs['profilesDirectory'] + if 'projectDirectory' in kwargs: + project_directory = kwargs['projectDirectory'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + _setter("commands", commands) if catalog is not None: _setter("catalog", catalog) @@ -2724,7 +2926,21 @@ def _configure( on_failures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, on_starts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, on_successes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_skipped_runs is not None: @@ -2845,7 +3061,11 @@ def _configure( job_source: Optional[pulumi.Input['JobGitSourceJobSourceArgs']] = None, provider: Optional[pulumi.Input[str]] = None, tag: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobSource' in kwargs: + job_source = kwargs['jobSource'] + _setter("url", url) if branch is not None: _setter("branch", branch) @@ -2946,7 +3166,15 @@ def _configure( import_from_git_branch: pulumi.Input[str], job_config_path: pulumi.Input[str], dirty_state: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'importFromGitBranch' in kwargs: + import_from_git_branch = kwargs['importFromGitBranch'] + if 'jobConfigPath' in kwargs: + job_config_path = kwargs['jobConfigPath'] + if 'dirtyState' in kwargs: + dirty_state = kwargs['dirtyState'] + _setter("import_from_git_branch", import_from_git_branch) _setter("job_config_path", job_config_path) if dirty_state is not None: @@ -2995,7 +3223,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rules: pulumi.Input[Sequence[pulumi.Input['JobHealthRuleArgs']]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rules", rules) @property @@ -3034,7 +3264,9 @@ def _configure( metric: Optional[pulumi.Input[str]] = None, op: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if metric is not None: _setter("metric", metric) if op is not None: @@ -3098,7 +3330,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_cluster_key: Optional[pulumi.Input[str]] = None, new_cluster: Optional[pulumi.Input['JobJobClusterNewClusterArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobClusterKey' in kwargs: + job_cluster_key = kwargs['jobClusterKey'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if job_cluster_key is not None: _setter("job_cluster_key", job_cluster_key) if new_cluster is not None: @@ -3228,7 +3466,67 @@ def _configure( spark_env_vars: Optional[pulumi.Input[Mapping[str, Any]]] = None, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, workload_type: Optional[pulumi.Input['JobJobClusterNewClusterWorkloadTypeArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("spark_version", spark_version) if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) @@ -3575,7 +3873,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[pulumi.Input[int]] = None, min_workers: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -3633,7 +3937,23 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, spot_bid_price_percent: Optional[pulumi.Input[int]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -3742,7 +4062,13 @@ def _configure( availability: Optional[pulumi.Input[str]] = None, first_on_demand: Optional[pulumi.Input[int]] = None, spot_bid_max_price: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -3793,7 +4119,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfDbfsArgs']] = None, s3: Optional[pulumi.Input['JobJobClusterNewClusterClusterLogConfS3Args']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -3830,7 +4158,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -3873,7 +4203,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -3970,7 +4310,15 @@ def _configure( local_mount_dir_path: pulumi.Input[str], network_filesystem_info: pulumi.Input['JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], remote_mount_dir_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -4019,7 +4367,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: pulumi.Input[str], mount_options: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -4061,7 +4415,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: pulumi.Input[str], basic_auth: Optional[pulumi.Input['JobJobClusterNewClusterDockerImageBasicAuthArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -4103,7 +4461,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: pulumi.Input[str], username: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -4153,7 +4513,19 @@ def _configure( local_ssd_count: Optional[pulumi.Input[int]] = None, use_preemptible_executors: Optional[pulumi.Input[bool]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -4298,7 +4670,9 @@ def _configure( s3: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptS3Args']] = None, volumes: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptVolumesArgs']] = None, workspace: Optional[pulumi.Input['JobJobClusterNewClusterInitScriptWorkspaceArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -4442,7 +4816,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4468,7 +4844,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -4493,7 +4871,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4519,7 +4899,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4563,7 +4945,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -4654,7 +5046,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4680,7 +5074,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4706,7 +5102,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: pulumi.Input['JobJobClusterNewClusterWorkloadTypeClientsArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -4734,7 +5132,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[pulumi.Input[bool]] = None, notebooks: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -4786,7 +5186,9 @@ def _configure( maven: Optional[pulumi.Input['JobLibraryMavenArgs']] = None, pypi: Optional[pulumi.Input['JobLibraryPypiArgs']] = None, whl: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -4870,7 +5272,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -4912,7 +5316,9 @@ def _configure( coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -4962,7 +5368,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -5085,7 +5493,67 @@ def _configure( spark_env_vars: Optional[pulumi.Input[Mapping[str, Any]]] = None, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, workload_type: Optional[pulumi.Input['JobNewClusterWorkloadTypeArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("spark_version", spark_version) if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) @@ -5432,7 +5900,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[pulumi.Input[int]] = None, min_workers: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -5490,7 +5964,23 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, spot_bid_price_percent: Optional[pulumi.Input[int]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -5599,7 +6089,13 @@ def _configure( availability: Optional[pulumi.Input[str]] = None, first_on_demand: Optional[pulumi.Input[int]] = None, spot_bid_max_price: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -5650,7 +6146,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional[pulumi.Input['JobNewClusterClusterLogConfDbfsArgs']] = None, s3: Optional[pulumi.Input['JobNewClusterClusterLogConfS3Args']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -5687,7 +6185,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -5730,7 +6230,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -5827,7 +6337,15 @@ def _configure( local_mount_dir_path: pulumi.Input[str], network_filesystem_info: pulumi.Input['JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], remote_mount_dir_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -5876,7 +6394,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: pulumi.Input[str], mount_options: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -5918,7 +6442,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: pulumi.Input[str], basic_auth: Optional[pulumi.Input['JobNewClusterDockerImageBasicAuthArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -5960,7 +6488,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: pulumi.Input[str], username: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -6010,7 +6540,19 @@ def _configure( local_ssd_count: Optional[pulumi.Input[int]] = None, use_preemptible_executors: Optional[pulumi.Input[bool]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -6155,7 +6697,9 @@ def _configure( s3: Optional[pulumi.Input['JobNewClusterInitScriptS3Args']] = None, volumes: Optional[pulumi.Input['JobNewClusterInitScriptVolumesArgs']] = None, workspace: Optional[pulumi.Input['JobNewClusterInitScriptWorkspaceArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -6299,7 +6843,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6325,7 +6871,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -6350,7 +6898,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6376,7 +6926,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6420,7 +6972,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -6511,7 +7073,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6537,7 +7101,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6563,7 +7129,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: pulumi.Input['JobNewClusterWorkloadTypeClientsArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -6591,7 +7159,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[pulumi.Input[bool]] = None, notebooks: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -6639,7 +7209,13 @@ def _configure( notebook_path: pulumi.Input[str], base_parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'baseParameters' in kwargs: + base_parameters = kwargs['baseParameters'] + _setter("notebook_path", notebook_path) if base_parameters is not None: _setter("base_parameters", base_parameters) @@ -6702,7 +7278,13 @@ def _configure( _setter: Callable[[Any, Any], None], no_alert_for_canceled_runs: Optional[pulumi.Input[bool]] = None, no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'noAlertForCanceledRuns' in kwargs: + no_alert_for_canceled_runs = kwargs['noAlertForCanceledRuns'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if no_alert_for_canceled_runs is not None: _setter("no_alert_for_canceled_runs", no_alert_for_canceled_runs) if no_alert_for_skipped_runs is not None: @@ -6752,7 +7334,9 @@ def _configure( _setter: Callable[[Any, Any], None], default: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if default is not None: _setter("default", default) if name is not None: @@ -6804,7 +7388,13 @@ def _configure( _setter: Callable[[Any, Any], None], pipeline_id: pulumi.Input[str], full_refresh: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'fullRefresh' in kwargs: + full_refresh = kwargs['fullRefresh'] + _setter("pipeline_id", pipeline_id) if full_refresh is not None: _setter("full_refresh", full_refresh) @@ -6863,7 +7453,15 @@ def _configure( named_parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, package_name: Optional[pulumi.Input[str]] = None, parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'entryPoint' in kwargs: + entry_point = kwargs['entryPoint'] + if 'namedParameters' in kwargs: + named_parameters = kwargs['namedParameters'] + if 'packageName' in kwargs: + package_name = kwargs['packageName'] + if entry_point is not None: _setter("entry_point", entry_point) if named_parameters is not None: @@ -6924,13 +7522,29 @@ def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) @pulumi.input_type class JobQueueArgs: - def __init__(__self__): - pass + def __init__(__self__, *, + enabled: pulumi.Input[bool]): + JobQueueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + ) @staticmethod def _configure( _setter: Callable[[Any, Any], None], - opts: Optional[pulumi.ResourceOptions]=None): - pass + enabled: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) @pulumi.input_type @@ -6941,7 +7555,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] service_principal_name: The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - Example + Example: ```python import pulumi @@ -6963,7 +7577,13 @@ def _configure( _setter: Callable[[Any, Any], None], service_principal_name: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servicePrincipalName' in kwargs: + service_principal_name = kwargs['servicePrincipalName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if service_principal_name is not None: _setter("service_principal_name", service_principal_name) if user_name is not None: @@ -6975,7 +7595,7 @@ def service_principal_name(self) -> Optional[pulumi.Input[str]]: """ The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - Example + Example: ```python import pulumi @@ -7024,7 +7644,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_id: pulumi.Input[int], job_parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'jobParameters' in kwargs: + job_parameters = kwargs['jobParameters'] + _setter("job_id", job_id) if job_parameters is not None: _setter("job_parameters", job_parameters) @@ -7077,7 +7703,15 @@ def _configure( quartz_cron_expression: pulumi.Input[str], timezone_id: pulumi.Input[str], pause_status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'quartzCronExpression' in kwargs: + quartz_cron_expression = kwargs['quartzCronExpression'] + if 'timezoneId' in kwargs: + timezone_id = kwargs['timezoneId'] + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + _setter("quartz_cron_expression", quartz_cron_expression) _setter("timezone_id", timezone_id) if pause_status is not None: @@ -7142,7 +7776,13 @@ def _configure( jar_uri: Optional[pulumi.Input[str]] = None, main_class_name: Optional[pulumi.Input[str]] = None, parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jarUri' in kwargs: + jar_uri = kwargs['jarUri'] + if 'mainClassName' in kwargs: + main_class_name = kwargs['mainClassName'] + if jar_uri is not None: _setter("jar_uri", jar_uri) if main_class_name is not None: @@ -7207,7 +7847,11 @@ def _configure( python_file: pulumi.Input[str], parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pythonFile' in kwargs: + python_file = kwargs['pythonFile'] + _setter("python_file", python_file) if parameters is not None: _setter("parameters", parameters) @@ -7266,7 +7910,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if parameters is not None: _setter("parameters", parameters) @@ -7386,7 +8032,55 @@ def _configure( sql_task: Optional[pulumi.Input['JobTaskSqlTaskArgs']] = None, task_key: Optional[pulumi.Input[str]] = None, timeout_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'computeKey' in kwargs: + compute_key = kwargs['computeKey'] + if 'conditionTask' in kwargs: + condition_task = kwargs['conditionTask'] + if 'dbtTask' in kwargs: + dbt_task = kwargs['dbtTask'] + if 'dependsOns' in kwargs: + depends_ons = kwargs['dependsOns'] + if 'emailNotifications' in kwargs: + email_notifications = kwargs['emailNotifications'] + if 'existingClusterId' in kwargs: + existing_cluster_id = kwargs['existingClusterId'] + if 'jobClusterKey' in kwargs: + job_cluster_key = kwargs['jobClusterKey'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'minRetryIntervalMillis' in kwargs: + min_retry_interval_millis = kwargs['minRetryIntervalMillis'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if 'notebookTask' in kwargs: + notebook_task = kwargs['notebookTask'] + if 'notificationSettings' in kwargs: + notification_settings = kwargs['notificationSettings'] + if 'pipelineTask' in kwargs: + pipeline_task = kwargs['pipelineTask'] + if 'pythonWheelTask' in kwargs: + python_wheel_task = kwargs['pythonWheelTask'] + if 'retryOnTimeout' in kwargs: + retry_on_timeout = kwargs['retryOnTimeout'] + if 'runIf' in kwargs: + run_if = kwargs['runIf'] + if 'runJobTask' in kwargs: + run_job_task = kwargs['runJobTask'] + if 'sparkJarTask' in kwargs: + spark_jar_task = kwargs['sparkJarTask'] + if 'sparkPythonTask' in kwargs: + spark_python_task = kwargs['sparkPythonTask'] + if 'sparkSubmitTask' in kwargs: + spark_submit_task = kwargs['sparkSubmitTask'] + if 'sqlTask' in kwargs: + sql_task = kwargs['sqlTask'] + if 'taskKey' in kwargs: + task_key = kwargs['taskKey'] + if 'timeoutSeconds' in kwargs: + timeout_seconds = kwargs['timeoutSeconds'] + if compute_key is not None: _setter("compute_key", compute_key) if condition_task is not None: @@ -7736,7 +8430,9 @@ def _configure( left: Optional[pulumi.Input[str]] = None, op: Optional[pulumi.Input[str]] = None, right: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if left is not None: _setter("left", left) if op is not None: @@ -7812,7 +8508,15 @@ def _configure( project_directory: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, warehouse_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'profilesDirectory' in kwargs: + profiles_directory = kwargs['profilesDirectory'] + if 'projectDirectory' in kwargs: + project_directory = kwargs['projectDirectory'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + _setter("commands", commands) if catalog is not None: _setter("catalog", catalog) @@ -7918,7 +8622,11 @@ def _configure( _setter: Callable[[Any, Any], None], task_key: pulumi.Input[str], outcome: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'taskKey' in kwargs: + task_key = kwargs['taskKey'] + _setter("task_key", task_key) if outcome is not None: _setter("outcome", outcome) @@ -7980,7 +8688,21 @@ def _configure( on_failures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, on_starts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, on_successes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_skipped_runs is not None: @@ -8082,7 +8804,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rules: pulumi.Input[Sequence[pulumi.Input['JobTaskHealthRuleArgs']]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rules", rules) @property @@ -8121,7 +8845,9 @@ def _configure( metric: Optional[pulumi.Input[str]] = None, op: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if metric is not None: _setter("metric", metric) if op is not None: @@ -8193,7 +8919,9 @@ def _configure( maven: Optional[pulumi.Input['JobTaskLibraryMavenArgs']] = None, pypi: Optional[pulumi.Input['JobTaskLibraryPypiArgs']] = None, whl: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -8277,7 +9005,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -8319,7 +9049,9 @@ def _configure( coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -8369,7 +9101,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -8492,7 +9226,67 @@ def _configure( spark_env_vars: Optional[pulumi.Input[Mapping[str, Any]]] = None, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, workload_type: Optional[pulumi.Input['JobTaskNewClusterWorkloadTypeArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("spark_version", spark_version) if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) @@ -8839,7 +9633,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[pulumi.Input[int]] = None, min_workers: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -8897,7 +9697,23 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, spot_bid_price_percent: Optional[pulumi.Input[int]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -9006,7 +9822,13 @@ def _configure( availability: Optional[pulumi.Input[str]] = None, first_on_demand: Optional[pulumi.Input[int]] = None, spot_bid_max_price: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -9057,7 +9879,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfDbfsArgs']] = None, s3: Optional[pulumi.Input['JobTaskNewClusterClusterLogConfS3Args']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -9094,7 +9918,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -9137,7 +9963,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -9234,7 +10070,15 @@ def _configure( local_mount_dir_path: pulumi.Input[str], network_filesystem_info: pulumi.Input['JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs'], remote_mount_dir_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -9283,7 +10127,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: pulumi.Input[str], mount_options: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -9325,7 +10175,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: pulumi.Input[str], basic_auth: Optional[pulumi.Input['JobTaskNewClusterDockerImageBasicAuthArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -9367,7 +10221,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: pulumi.Input[str], username: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -9417,7 +10273,19 @@ def _configure( local_ssd_count: Optional[pulumi.Input[int]] = None, use_preemptible_executors: Optional[pulumi.Input[bool]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -9562,7 +10430,9 @@ def _configure( s3: Optional[pulumi.Input['JobTaskNewClusterInitScriptS3Args']] = None, volumes: Optional[pulumi.Input['JobTaskNewClusterInitScriptVolumesArgs']] = None, workspace: Optional[pulumi.Input['JobTaskNewClusterInitScriptWorkspaceArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -9706,7 +10576,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9732,7 +10604,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -9757,7 +10631,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9783,7 +10659,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9827,7 +10705,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -9918,7 +10806,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9944,7 +10834,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9970,7 +10862,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: pulumi.Input['JobTaskNewClusterWorkloadTypeClientsArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -9998,7 +10892,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[pulumi.Input[bool]] = None, notebooks: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -10046,7 +10942,13 @@ def _configure( notebook_path: pulumi.Input[str], base_parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'baseParameters' in kwargs: + base_parameters = kwargs['baseParameters'] + _setter("notebook_path", notebook_path) if base_parameters is not None: _setter("base_parameters", base_parameters) @@ -10113,7 +11015,15 @@ def _configure( alert_on_last_attempt: Optional[pulumi.Input[bool]] = None, no_alert_for_canceled_runs: Optional[pulumi.Input[bool]] = None, no_alert_for_skipped_runs: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForCanceledRuns' in kwargs: + no_alert_for_canceled_runs = kwargs['noAlertForCanceledRuns'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_canceled_runs is not None: @@ -10179,7 +11089,13 @@ def _configure( _setter: Callable[[Any, Any], None], pipeline_id: pulumi.Input[str], full_refresh: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'fullRefresh' in kwargs: + full_refresh = kwargs['fullRefresh'] + _setter("pipeline_id", pipeline_id) if full_refresh is not None: _setter("full_refresh", full_refresh) @@ -10238,7 +11154,15 @@ def _configure( named_parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, package_name: Optional[pulumi.Input[str]] = None, parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'entryPoint' in kwargs: + entry_point = kwargs['entryPoint'] + if 'namedParameters' in kwargs: + named_parameters = kwargs['namedParameters'] + if 'packageName' in kwargs: + package_name = kwargs['packageName'] + if entry_point is not None: _setter("entry_point", entry_point) if named_parameters is not None: @@ -10316,7 +11240,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_id: pulumi.Input[int], job_parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'jobParameters' in kwargs: + job_parameters = kwargs['jobParameters'] + _setter("job_id", job_id) if job_parameters is not None: _setter("job_parameters", job_parameters) @@ -10368,7 +11298,13 @@ def _configure( jar_uri: Optional[pulumi.Input[str]] = None, main_class_name: Optional[pulumi.Input[str]] = None, parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jarUri' in kwargs: + jar_uri = kwargs['jarUri'] + if 'mainClassName' in kwargs: + main_class_name = kwargs['mainClassName'] + if jar_uri is not None: _setter("jar_uri", jar_uri) if main_class_name is not None: @@ -10433,7 +11369,11 @@ def _configure( python_file: pulumi.Input[str], parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pythonFile' in kwargs: + python_file = kwargs['pythonFile'] + _setter("python_file", python_file) if parameters is not None: _setter("parameters", parameters) @@ -10492,7 +11432,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if parameters is not None: _setter("parameters", parameters) @@ -10587,7 +11529,11 @@ def _configure( parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, query: Optional[pulumi.Input['JobTaskSqlTaskQueryArgs']] = None, warehouse_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + if alert is not None: _setter("alert", alert) if dashboard is not None: @@ -10740,7 +11686,13 @@ def _configure( alert_id: pulumi.Input[str], subscriptions: pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskAlertSubscriptionArgs']]], pause_subscriptions: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if 'pauseSubscriptions' in kwargs: + pause_subscriptions = kwargs['pauseSubscriptions'] + _setter("alert_id", alert_id) _setter("subscriptions", subscriptions) if pause_subscriptions is not None: @@ -10801,7 +11753,13 @@ def _configure( _setter: Callable[[Any, Any], None], destination_id: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'destinationId' in kwargs: + destination_id = kwargs['destinationId'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if destination_id is not None: _setter("destination_id", destination_id) if user_name is not None: @@ -10856,7 +11814,15 @@ def _configure( custom_subject: Optional[pulumi.Input[str]] = None, pause_subscriptions: Optional[pulumi.Input[bool]] = None, subscriptions: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskSqlTaskDashboardSubscriptionArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dashboardId' in kwargs: + dashboard_id = kwargs['dashboardId'] + if 'customSubject' in kwargs: + custom_subject = kwargs['customSubject'] + if 'pauseSubscriptions' in kwargs: + pause_subscriptions = kwargs['pauseSubscriptions'] + _setter("dashboard_id", dashboard_id) if custom_subject is not None: _setter("custom_subject", custom_subject) @@ -10932,7 +11898,13 @@ def _configure( _setter: Callable[[Any, Any], None], destination_id: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'destinationId' in kwargs: + destination_id = kwargs['destinationId'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if destination_id is not None: _setter("destination_id", destination_id) if user_name is not None: @@ -10972,7 +11944,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], path: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) @property @@ -10997,7 +11971,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], query_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + _setter("query_id", query_id) @property @@ -11029,7 +12007,13 @@ def _configure( _setter: Callable[[Any, Any], None], file_arrival: pulumi.Input['JobTriggerFileArrivalArgs'], pause_status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'fileArrival' in kwargs: + file_arrival = kwargs['fileArrival'] + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + _setter("file_arrival", file_arrival) if pause_status is not None: _setter("pause_status", pause_status) @@ -11082,7 +12066,13 @@ def _configure( url: pulumi.Input[str], min_time_between_triggers_seconds: Optional[pulumi.Input[int]] = None, wait_after_last_change_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'minTimeBetweenTriggersSeconds' in kwargs: + min_time_between_triggers_seconds = kwargs['minTimeBetweenTriggersSeconds'] + if 'waitAfterLastChangeSeconds' in kwargs: + wait_after_last_change_seconds = kwargs['waitAfterLastChangeSeconds'] + _setter("url", url) if min_time_between_triggers_seconds is not None: _setter("min_time_between_triggers_seconds", min_time_between_triggers_seconds) @@ -11161,7 +12151,17 @@ def _configure( on_failures: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnFailureArgs']]]] = None, on_starts: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnStartArgs']]]] = None, on_successes: Optional[pulumi.Input[Sequence[pulumi.Input['JobWebhookNotificationsOnSuccessArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if on_duration_warning_threshold_exceededs is not None: _setter("on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) if on_failures is not None: @@ -11243,7 +12243,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -11274,7 +12276,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -11305,7 +12309,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -11336,7 +12342,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -11367,7 +12375,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -11409,7 +12419,9 @@ def _configure( coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -11459,7 +12471,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: pulumi.Input[str], repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -11500,7 +12514,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], role_arn: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + _setter("role_arn", role_arn) @property @@ -11542,7 +12560,15 @@ def _configure( access_connector_id: pulumi.Input[str], credential_id: Optional[pulumi.Input[str]] = None, managed_identity_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessConnectorId' in kwargs: + access_connector_id = kwargs['accessConnectorId'] + if 'credentialId' in kwargs: + credential_id = kwargs['credentialId'] + if 'managedIdentityId' in kwargs: + managed_identity_id = kwargs['managedIdentityId'] + _setter("access_connector_id", access_connector_id) if credential_id is not None: _setter("credential_id", credential_id) @@ -11608,7 +12634,15 @@ def _configure( application_id: pulumi.Input[str], client_secret: pulumi.Input[str], directory_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'directoryId' in kwargs: + directory_id = kwargs['directoryId'] + _setter("application_id", application_id) _setter("client_secret", client_secret) _setter("directory_id", directory_id) @@ -11670,7 +12704,11 @@ def _configure( _setter: Callable[[Any, Any], None], credential_id: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'credentialId' in kwargs: + credential_id = kwargs['credentialId'] + if credential_id is not None: _setter("credential_id", credential_id) if email is not None: @@ -11723,7 +12761,13 @@ def _configure( email: pulumi.Input[str], private_key: pulumi.Input[str], private_key_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'privateKey' in kwargs: + private_key = kwargs['privateKey'] + if 'privateKeyId' in kwargs: + private_key_id = kwargs['privateKeyId'] + _setter("email", email) _setter("private_key", private_key) _setter("private_key_id", private_key_id) @@ -11776,7 +12820,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if key is not None: _setter("key", key) if value is not None: @@ -11828,7 +12874,11 @@ def _configure( authorization: Optional[pulumi.Input[str]] = None, enable_ssl_verification: Optional[pulumi.Input[bool]] = None, secret: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'enableSslVerification' in kwargs: + enable_ssl_verification = kwargs['enableSslVerification'] + _setter("url", url) if authorization is not None: _setter("authorization", authorization) @@ -11909,7 +12959,15 @@ def _configure( access_token: pulumi.Input[str], job_id: pulumi.Input[str], workspace_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessToken' in kwargs: + access_token = kwargs['accessToken'] + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'workspaceUrl' in kwargs: + workspace_url = kwargs['workspaceUrl'] + _setter("access_token", access_token) _setter("job_id", job_id) if workspace_url is not None: @@ -11971,7 +13029,13 @@ def _configure( _setter: Callable[[Any, Any], None], served_models: pulumi.Input[Sequence[pulumi.Input['ModelServingConfigServedModelArgs']]], traffic_config: Optional[pulumi.Input['ModelServingConfigTrafficConfigArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servedModels' in kwargs: + served_models = kwargs['servedModels'] + if 'trafficConfig' in kwargs: + traffic_config = kwargs['trafficConfig'] + _setter("served_models", served_models) if traffic_config is not None: _setter("traffic_config", traffic_config) @@ -12010,7 +13074,8 @@ def __init__(__self__, *, environment_vars: Optional[pulumi.Input[Mapping[str, Any]]] = None, instance_profile_arn: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - scale_to_zero_enabled: Optional[pulumi.Input[bool]] = None): + scale_to_zero_enabled: Optional[pulumi.Input[bool]] = None, + workload_type: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] model_name: The name of the model in Databricks Model Registry to be served. :param pulumi.Input[str] model_version: The version of the model in Databricks Model Registry to be served. @@ -12019,6 +13084,7 @@ def __init__(__self__, *, :param pulumi.Input[str] instance_profile_arn: ARN of the instance profile that the served model will use to access AWS resources. :param pulumi.Input[str] name: The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. :param pulumi.Input[bool] scale_to_zero_enabled: Whether the compute resources for the served model should scale down to zero. If scale-to-zero is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + :param pulumi.Input[str] workload_type: The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. """ ModelServingConfigServedModelArgs._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -12029,6 +13095,7 @@ def __init__(__self__, *, instance_profile_arn=instance_profile_arn, name=name, scale_to_zero_enabled=scale_to_zero_enabled, + workload_type=workload_type, ) @staticmethod def _configure( @@ -12040,7 +13107,24 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, scale_to_zero_enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + workload_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'modelName' in kwargs: + model_name = kwargs['modelName'] + if 'modelVersion' in kwargs: + model_version = kwargs['modelVersion'] + if 'workloadSize' in kwargs: + workload_size = kwargs['workloadSize'] + if 'environmentVars' in kwargs: + environment_vars = kwargs['environmentVars'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'scaleToZeroEnabled' in kwargs: + scale_to_zero_enabled = kwargs['scaleToZeroEnabled'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("model_name", model_name) _setter("model_version", model_version) _setter("workload_size", workload_size) @@ -12052,6 +13136,8 @@ def _configure( _setter("name", name) if scale_to_zero_enabled is not None: _setter("scale_to_zero_enabled", scale_to_zero_enabled) + if workload_type is not None: + _setter("workload_type", workload_type) @property @pulumi.getter(name="modelName") @@ -12137,6 +13223,18 @@ def scale_to_zero_enabled(self) -> Optional[pulumi.Input[bool]]: def scale_to_zero_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "scale_to_zero_enabled", value) + @property + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[pulumi.Input[str]]: + """ + The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + """ + return pulumi.get(self, "workload_type") + + @workload_type.setter + def workload_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "workload_type", value) + @pulumi.input_type class ModelServingConfigTrafficConfigArgs: @@ -12153,7 +13251,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], routes: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingConfigTrafficConfigRouteArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if routes is not None: _setter("routes", routes) @@ -12189,7 +13289,13 @@ def _configure( _setter: Callable[[Any, Any], None], served_model_name: pulumi.Input[str], traffic_percentage: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servedModelName' in kwargs: + served_model_name = kwargs['servedModelName'] + if 'trafficPercentage' in kwargs: + traffic_percentage = kwargs['trafficPercentage'] + _setter("served_model_name", served_model_name) _setter("traffic_percentage", traffic_percentage) @@ -12233,7 +13339,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: pulumi.Input[str], value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if value is not None: _setter("value", value) @@ -12290,7 +13398,23 @@ def _configure( directory: Optional[pulumi.Input[str]] = None, storage_account_name: Optional[pulumi.Input[str]] = None, tenant_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecretKey' in kwargs: + client_secret_key = kwargs['clientSecretKey'] + if 'clientSecretScope' in kwargs: + client_secret_scope = kwargs['clientSecretScope'] + if 'initializeFileSystem' in kwargs: + initialize_file_system = kwargs['initializeFileSystem'] + if 'containerName' in kwargs: + container_name = kwargs['containerName'] + if 'storageAccountName' in kwargs: + storage_account_name = kwargs['storageAccountName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + _setter("client_id", client_id) _setter("client_secret_key", client_secret_key) _setter("client_secret_scope", client_secret_scope) @@ -12407,7 +13531,21 @@ def _configure( spark_conf_prefix: Optional[pulumi.Input[str]] = None, storage_resource_name: Optional[pulumi.Input[str]] = None, tenant_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecretKey' in kwargs: + client_secret_key = kwargs['clientSecretKey'] + if 'clientSecretScope' in kwargs: + client_secret_scope = kwargs['clientSecretScope'] + if 'sparkConfPrefix' in kwargs: + spark_conf_prefix = kwargs['sparkConfPrefix'] + if 'storageResourceName' in kwargs: + storage_resource_name = kwargs['storageResourceName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + _setter("client_id", client_id) _setter("client_secret_key", client_secret_key) _setter("client_secret_scope", client_secret_scope) @@ -12499,7 +13637,13 @@ def _configure( _setter: Callable[[Any, Any], None], bucket_name: pulumi.Input[str], service_account: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'serviceAccount' in kwargs: + service_account = kwargs['serviceAccount'] + _setter("bucket_name", bucket_name) if service_account is not None: _setter("service_account", service_account) @@ -12538,7 +13682,13 @@ def _configure( _setter: Callable[[Any, Any], None], bucket_name: pulumi.Input[str], instance_profile: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'instanceProfile' in kwargs: + instance_profile = kwargs['instanceProfile'] + _setter("bucket_name", bucket_name) if instance_profile is not None: _setter("instance_profile", instance_profile) @@ -12589,7 +13739,19 @@ def _configure( container_name: Optional[pulumi.Input[str]] = None, directory: Optional[pulumi.Input[str]] = None, storage_account_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authType' in kwargs: + auth_type = kwargs['authType'] + if 'tokenSecretKey' in kwargs: + token_secret_key = kwargs['tokenSecretKey'] + if 'tokenSecretScope' in kwargs: + token_secret_scope = kwargs['tokenSecretScope'] + if 'containerName' in kwargs: + container_name = kwargs['containerName'] + if 'storageAccountName' in kwargs: + storage_account_name = kwargs['storageAccountName'] + _setter("auth_type", auth_type) _setter("token_secret_key", token_secret_key) _setter("token_secret_scope", token_secret_scope) @@ -12678,7 +13840,15 @@ def _configure( key_alias: pulumi.Input[str], key_arn: pulumi.Input[str], key_region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyAlias' in kwargs: + key_alias = kwargs['keyAlias'] + if 'keyArn' in kwargs: + key_arn = kwargs['keyArn'] + if 'keyRegion' in kwargs: + key_region = kwargs['keyRegion'] + _setter("key_alias", key_alias) _setter("key_arn", key_arn) if key_region is not None: @@ -12736,7 +13906,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], kms_key_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kmsKeyId' in kwargs: + kms_key_id = kwargs['kmsKeyId'] + _setter("kms_key_id", kms_key_id) @property @@ -12767,7 +13941,13 @@ def _configure( _setter: Callable[[Any, Any], None], error_message: Optional[pulumi.Input[str]] = None, error_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'errorMessage' in kwargs: + error_message = kwargs['errorMessage'] + if 'errorType' in kwargs: + error_type = kwargs['errorType'] + if error_message is not None: _setter("error_message", error_message) if error_type is not None: @@ -12827,7 +14007,21 @@ def _configure( subnet_id: pulumi.Input[str], subnet_region: pulumi.Input[str], vpc_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'networkProjectId' in kwargs: + network_project_id = kwargs['networkProjectId'] + if 'podIpRangeName' in kwargs: + pod_ip_range_name = kwargs['podIpRangeName'] + if 'serviceIpRangeName' in kwargs: + service_ip_range_name = kwargs['serviceIpRangeName'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'subnetRegion' in kwargs: + subnet_region = kwargs['subnetRegion'] + if 'vpcId' in kwargs: + vpc_id = kwargs['vpcId'] + _setter("network_project_id", network_project_id) _setter("pod_ip_range_name", pod_ip_range_name) _setter("service_ip_range_name", service_ip_range_name) @@ -12923,7 +14117,13 @@ def _configure( _setter: Callable[[Any, Any], None], dataplane_relays: pulumi.Input[Sequence[pulumi.Input[str]]], rest_apis: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataplaneRelays' in kwargs: + dataplane_relays = kwargs['dataplaneRelays'] + if 'restApis' in kwargs: + rest_apis = kwargs['restApis'] + _setter("dataplane_relays", dataplane_relays) _setter("rest_apis", rest_apis) @@ -12977,7 +14177,19 @@ def _configure( psc_endpoint_name: pulumi.Input[str], psc_connection_id: Optional[pulumi.Input[str]] = None, service_attachment_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'endpointRegion' in kwargs: + endpoint_region = kwargs['endpointRegion'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'pscEndpointName' in kwargs: + psc_endpoint_name = kwargs['pscEndpointName'] + if 'pscConnectionId' in kwargs: + psc_connection_id = kwargs['pscConnectionId'] + if 'serviceAttachmentId' in kwargs: + service_attachment_id = kwargs['serviceAttachmentId'] + _setter("endpoint_region", endpoint_region) _setter("project_id", project_id) _setter("psc_endpoint_name", psc_endpoint_name) @@ -13062,7 +14274,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], gcp: pulumi.Input['MwsWorkspacesCloudResourceContainerGcpArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("gcp", gcp) @property @@ -13093,7 +14307,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], project_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + _setter("project_id", project_id) @property @@ -13127,7 +14345,15 @@ def _configure( authoritative_user_email: pulumi.Input[str], authoritative_user_full_name: pulumi.Input[str], customer_name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authoritativeUserEmail' in kwargs: + authoritative_user_email = kwargs['authoritativeUserEmail'] + if 'authoritativeUserFullName' in kwargs: + authoritative_user_full_name = kwargs['authoritativeUserFullName'] + if 'customerName' in kwargs: + customer_name = kwargs['customerName'] + _setter("authoritative_user_email", authoritative_user_email) _setter("authoritative_user_full_name", authoritative_user_full_name) _setter("customer_name", customer_name) @@ -13178,7 +14404,15 @@ def _configure( gke_cluster_pod_ip_range: pulumi.Input[str], gke_cluster_service_ip_range: pulumi.Input[str], subnet_cidr: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gkeClusterPodIpRange' in kwargs: + gke_cluster_pod_ip_range = kwargs['gkeClusterPodIpRange'] + if 'gkeClusterServiceIpRange' in kwargs: + gke_cluster_service_ip_range = kwargs['gkeClusterServiceIpRange'] + if 'subnetCidr' in kwargs: + subnet_cidr = kwargs['subnetCidr'] + _setter("gke_cluster_pod_ip_range", gke_cluster_pod_ip_range) _setter("gke_cluster_service_ip_range", gke_cluster_service_ip_range) _setter("subnet_cidr", subnet_cidr) @@ -13230,7 +14464,13 @@ def _configure( _setter: Callable[[Any, Any], None], connectivity_type: pulumi.Input[str], master_ip_range: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectivityType' in kwargs: + connectivity_type = kwargs['connectivityType'] + if 'masterIpRange' in kwargs: + master_ip_range = kwargs['masterIpRange'] + _setter("connectivity_type", connectivity_type) _setter("master_ip_range", master_ip_range) @@ -13283,7 +14523,15 @@ def _configure( lifetime_seconds: Optional[pulumi.Input[int]] = None, token_id: Optional[pulumi.Input[str]] = None, token_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'lifetimeSeconds' in kwargs: + lifetime_seconds = kwargs['lifetimeSeconds'] + if 'tokenId' in kwargs: + token_id = kwargs['tokenId'] + if 'tokenValue' in kwargs: + token_value = kwargs['tokenValue'] + if comment is not None: _setter("comment", comment) if lifetime_seconds is not None: @@ -13362,7 +14610,17 @@ def _configure( group_name: Optional[pulumi.Input[str]] = None, service_principal_name: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'permissionLevel' in kwargs: + permission_level = kwargs['permissionLevel'] + if 'groupName' in kwargs: + group_name = kwargs['groupName'] + if 'servicePrincipalName' in kwargs: + service_principal_name = kwargs['servicePrincipalName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + _setter("permission_level", permission_level) if group_name is not None: _setter("group_name", group_name) @@ -13488,7 +14746,43 @@ def _configure( spark_conf: Optional[pulumi.Input[Mapping[str, Any]]] = None, spark_env_vars: Optional[pulumi.Input[Mapping[str, Any]]] = None, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) if autoscale is not None: @@ -13718,7 +15012,13 @@ def _configure( max_workers: Optional[pulumi.Input[int]] = None, min_workers: Optional[pulumi.Input[int]] = None, mode: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -13787,7 +15087,23 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, spot_bid_price_percent: Optional[pulumi.Input[int]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -13896,7 +15212,13 @@ def _configure( availability: Optional[pulumi.Input[str]] = None, first_on_demand: Optional[pulumi.Input[int]] = None, spot_bid_max_price: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -13947,7 +15269,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional[pulumi.Input['PipelineClusterClusterLogConfDbfsArgs']] = None, s3: Optional[pulumi.Input['PipelineClusterClusterLogConfS3Args']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -13984,7 +15308,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -14027,7 +15353,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -14127,7 +15463,15 @@ def _configure( google_service_account: Optional[pulumi.Input[str]] = None, local_ssd_count: Optional[pulumi.Input[int]] = None, zone_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if google_service_account is not None: @@ -14204,7 +15548,9 @@ def _configure( s3: Optional[pulumi.Input['PipelineClusterInitScriptS3Args']] = None, volumes: Optional[pulumi.Input['PipelineClusterInitScriptVolumesArgs']] = None, workspace: Optional[pulumi.Input['PipelineClusterInitScriptWorkspaceArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -14302,7 +15648,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14328,7 +15676,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -14353,7 +15703,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14379,7 +15731,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14423,7 +15777,17 @@ def _configure( endpoint: Optional[pulumi.Input[str]] = None, kms_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -14514,7 +15878,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14540,7 +15906,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14569,7 +15937,9 @@ def _configure( _setter: Callable[[Any, Any], None], excludes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if excludes is not None: _setter("excludes", excludes) if includes is not None: @@ -14618,7 +15988,9 @@ def _configure( maven: Optional[pulumi.Input['PipelineLibraryMavenArgs']] = None, notebook: Optional[pulumi.Input['PipelineLibraryNotebookArgs']] = None, whl: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if file is not None: _setter("file", file) if jar is not None: @@ -14688,7 +16060,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], path: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) @property @@ -14719,7 +16093,9 @@ def _configure( coordinates: pulumi.Input[str], exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, repo: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -14766,7 +16142,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], path: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) @property @@ -14802,7 +16180,11 @@ def _configure( _setter: Callable[[Any, Any], None], alerts: pulumi.Input[Sequence[pulumi.Input[str]]], email_recipients: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'emailRecipients' in kwargs: + email_recipients = kwargs['emailRecipients'] + _setter("alerts", alerts) _setter("email_recipients", email_recipients) @@ -14850,7 +16232,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], allowed_ip_addresses: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowedIpAddresses' in kwargs: + allowed_ip_addresses = kwargs['allowedIpAddresses'] + _setter("allowed_ip_addresses", allowed_ip_addresses) @property @@ -14905,7 +16291,21 @@ def _configure( id: Optional[pulumi.Input[str]] = None, updated_at: Optional[pulumi.Input[int]] = None, updated_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'activationUrl' in kwargs: + activation_url = kwargs['activationUrl'] + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'expirationTime' in kwargs: + expiration_time = kwargs['expirationTime'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if activation_url is not None: _setter("activation_url", activation_url) if created_at is not None: @@ -15018,7 +16418,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], patterns: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("patterns", patterns) @property @@ -15046,7 +16448,13 @@ def _configure( _setter: Callable[[Any, Any], None], dns_name: pulumi.Input[str], resource_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dnsName' in kwargs: + dns_name = kwargs['dnsName'] + if 'resourceId' in kwargs: + resource_id = kwargs['resourceId'] + _setter("dns_name", dns_name) _setter("resource_id", resource_id) @@ -15123,7 +16531,23 @@ def _configure( shared_as: Optional[pulumi.Input[str]] = None, start_version: Optional[pulumi.Input[int]] = None, status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataObjectType' in kwargs: + data_object_type = kwargs['dataObjectType'] + if 'addedAt' in kwargs: + added_at = kwargs['addedAt'] + if 'addedBy' in kwargs: + added_by = kwargs['addedBy'] + if 'cdfEnabled' in kwargs: + cdf_enabled = kwargs['cdfEnabled'] + if 'historyDataSharingStatus' in kwargs: + history_data_sharing_status = kwargs['historyDataSharingStatus'] + if 'sharedAs' in kwargs: + shared_as = kwargs['sharedAs'] + if 'startVersion' in kwargs: + start_version = kwargs['startVersion'] + _setter("data_object_type", data_object_type) _setter("name", name) if added_at is not None: @@ -15286,7 +16710,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], values: pulumi.Input[Sequence[pulumi.Input['ShareObjectPartitionValueArgs']]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("values", values) @property @@ -15329,7 +16755,11 @@ def _configure( op: pulumi.Input[str], recipient_property_key: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'recipientPropertyKey' in kwargs: + recipient_property_key = kwargs['recipientPropertyKey'] + _setter("name", name) _setter("op", op) if recipient_property_key is not None: @@ -15394,6 +16824,7 @@ def __init__(__self__, *, value: pulumi.Input[str], custom_body: Optional[pulumi.Input[str]] = None, custom_subject: Optional[pulumi.Input[str]] = None, + empty_result_state: Optional[pulumi.Input[str]] = None, muted: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[str] column: Name of column in the query result to compare in alert evaluation. @@ -15401,6 +16832,7 @@ def __init__(__self__, *, :param pulumi.Input[str] value: Value used to compare in alert evaluation. :param pulumi.Input[str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. :param pulumi.Input[str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. + :param pulumi.Input[str] empty_result_state: State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. :param pulumi.Input[bool] muted: Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. """ SqlAlertOptionsArgs._configure( @@ -15410,6 +16842,7 @@ def __init__(__self__, *, value=value, custom_body=custom_body, custom_subject=custom_subject, + empty_result_state=empty_result_state, muted=muted, ) @staticmethod @@ -15420,8 +16853,17 @@ def _configure( value: pulumi.Input[str], custom_body: Optional[pulumi.Input[str]] = None, custom_subject: Optional[pulumi.Input[str]] = None, + empty_result_state: Optional[pulumi.Input[str]] = None, muted: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customBody' in kwargs: + custom_body = kwargs['customBody'] + if 'customSubject' in kwargs: + custom_subject = kwargs['customSubject'] + if 'emptyResultState' in kwargs: + empty_result_state = kwargs['emptyResultState'] + _setter("column", column) _setter("op", op) _setter("value", value) @@ -15429,6 +16871,8 @@ def _configure( _setter("custom_body", custom_body) if custom_subject is not None: _setter("custom_subject", custom_subject) + if empty_result_state is not None: + _setter("empty_result_state", empty_result_state) if muted is not None: _setter("muted", muted) @@ -15492,6 +16936,18 @@ def custom_subject(self) -> Optional[pulumi.Input[str]]: def custom_subject(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_subject", value) + @property + @pulumi.getter(name="emptyResultState") + def empty_result_state(self) -> Optional[pulumi.Input[str]]: + """ + State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + """ + return pulumi.get(self, "empty_result_state") + + @empty_result_state.setter + def empty_result_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "empty_result_state", value) + @property @pulumi.getter def muted(self) -> Optional[pulumi.Input[bool]]: @@ -15520,7 +16976,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if name is not None: _setter("name", name) @@ -15561,7 +17019,9 @@ def _configure( protocol: pulumi.Input[str], host: Optional[pulumi.Input[str]] = None, hostname: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) _setter("port", port) _setter("protocol", protocol) @@ -15628,7 +17088,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], custom_tags: pulumi.Input[Sequence[pulumi.Input['SqlEndpointTagsCustomTagArgs']]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + _setter("custom_tags", custom_tags) @property @@ -15656,7 +17120,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: pulumi.Input[str], value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("value", value) @@ -15700,7 +17166,9 @@ def _configure( _setter: Callable[[Any, Any], None], principal: pulumi.Input[str], privileges: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("principal", principal) _setter("privileges", privileges) @@ -15746,6 +17214,14 @@ def __init__(__self__, *, query: Optional[pulumi.Input['SqlQueryParameterQueryArgs']] = None, text: Optional[pulumi.Input['SqlQueryParameterTextArgs']] = None, title: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] name: The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block + :param pulumi.Input['SqlQueryParameterQueryArgs'] query: The text of the query to be run. + :param pulumi.Input[str] title: The text displayed in a parameter picking widget. + """ SqlQueryParameterArgs._configure( lambda key, value: pulumi.set(__self__, key, value), name=name, @@ -15776,7 +17252,15 @@ def _configure( query: Optional[pulumi.Input['SqlQueryParameterQueryArgs']] = None, text: Optional[pulumi.Input['SqlQueryParameterTextArgs']] = None, title: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dateRange' in kwargs: + date_range = kwargs['dateRange'] + if 'datetimeRange' in kwargs: + datetime_range = kwargs['datetimeRange'] + if 'datetimesecRange' in kwargs: + datetimesec_range = kwargs['datetimesecRange'] + _setter("name", name) if date is not None: _setter("date", date) @@ -15804,6 +17288,12 @@ def _configure( @property @pulumi.getter def name(self) -> pulumi.Input[str]: + """ + The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block + """ return pulumi.get(self, "name") @name.setter @@ -15885,6 +17375,9 @@ def number(self, value: Optional[pulumi.Input['SqlQueryParameterNumberArgs']]): @property @pulumi.getter def query(self) -> Optional[pulumi.Input['SqlQueryParameterQueryArgs']]: + """ + The text of the query to be run. + """ return pulumi.get(self, "query") @query.setter @@ -15903,6 +17396,9 @@ def text(self, value: Optional[pulumi.Input['SqlQueryParameterTextArgs']]): @property @pulumi.getter def title(self) -> Optional[pulumi.Input[str]]: + """ + The text displayed in a parameter picking widget. + """ return pulumi.get(self, "title") @title.setter @@ -15914,6 +17410,9 @@ def title(self, value: Optional[pulumi.Input[str]]): class SqlQueryParameterDateArgs: def __init__(__self__, *, value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterDateArgs._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -15922,12 +17421,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> pulumi.Input[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -15940,6 +17444,9 @@ class SqlQueryParameterDateRangeArgs: def __init__(__self__, *, range: Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArgs']] = None, value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterDateRangeArgs._configure( lambda key, value: pulumi.set(__self__, key, value), range=range, @@ -15950,7 +17457,9 @@ def _configure( _setter: Callable[[Any, Any], None], range: Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArgs']] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if range is not None: _setter("range", range) if value is not None: @@ -15968,6 +17477,9 @@ def range(self, value: Optional[pulumi.Input['SqlQueryParameterDateRangeRangeArg @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -15990,7 +17502,9 @@ def _configure( _setter: Callable[[Any, Any], None], end: pulumi.Input[str], start: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("end", end) _setter("start", start) @@ -16017,6 +17531,9 @@ def start(self, value: pulumi.Input[str]): class SqlQueryParameterDatetimeArgs: def __init__(__self__, *, value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterDatetimeArgs._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -16025,12 +17542,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> pulumi.Input[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -16043,6 +17565,9 @@ class SqlQueryParameterDatetimeRangeArgs: def __init__(__self__, *, range: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgs']] = None, value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterDatetimeRangeArgs._configure( lambda key, value: pulumi.set(__self__, key, value), range=range, @@ -16053,7 +17578,9 @@ def _configure( _setter: Callable[[Any, Any], None], range: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRangeArgs']] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if range is not None: _setter("range", range) if value is not None: @@ -16071,6 +17598,9 @@ def range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimeRangeRang @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -16093,7 +17623,9 @@ def _configure( _setter: Callable[[Any, Any], None], end: pulumi.Input[str], start: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("end", end) _setter("start", start) @@ -16120,6 +17652,9 @@ def start(self, value: pulumi.Input[str]): class SqlQueryParameterDatetimesecArgs: def __init__(__self__, *, value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterDatetimesecArgs._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -16128,12 +17663,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> pulumi.Input[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -16146,6 +17686,9 @@ class SqlQueryParameterDatetimesecRangeArgs: def __init__(__self__, *, range: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgs']] = None, value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterDatetimesecRangeArgs._configure( lambda key, value: pulumi.set(__self__, key, value), range=range, @@ -16156,7 +17699,9 @@ def _configure( _setter: Callable[[Any, Any], None], range: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeRangeArgs']] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if range is not None: _setter("range", range) if value is not None: @@ -16174,6 +17719,9 @@ def range(self, value: Optional[pulumi.Input['SqlQueryParameterDatetimesecRangeR @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -16196,7 +17744,9 @@ def _configure( _setter: Callable[[Any, Any], None], end: pulumi.Input[str], start: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("end", end) _setter("start", start) @@ -16226,6 +17776,9 @@ def __init__(__self__, *, multiple: Optional[pulumi.Input['SqlQueryParameterEnumMultipleArgs']] = None, value: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterEnumArgs._configure( lambda key, value: pulumi.set(__self__, key, value), options=options, @@ -16240,7 +17793,9 @@ def _configure( multiple: Optional[pulumi.Input['SqlQueryParameterEnumMultipleArgs']] = None, value: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("options", options) if multiple is not None: _setter("multiple", multiple) @@ -16270,6 +17825,9 @@ def multiple(self, value: Optional[pulumi.Input['SqlQueryParameterEnumMultipleAr @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -16304,7 +17862,9 @@ def _configure( prefix: pulumi.Input[str], separator: pulumi.Input[str], suffix: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("prefix", prefix) _setter("separator", separator) _setter("suffix", suffix) @@ -16341,6 +17901,9 @@ def suffix(self, value: pulumi.Input[str]): class SqlQueryParameterNumberArgs: def __init__(__self__, *, value: pulumi.Input[float]): + """ + :param pulumi.Input[float] value: The default value for this parameter. + """ SqlQueryParameterNumberArgs._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -16349,12 +17912,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: pulumi.Input[float], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> pulumi.Input[float]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -16369,6 +17937,9 @@ def __init__(__self__, *, multiple: Optional[pulumi.Input['SqlQueryParameterQueryMultipleArgs']] = None, value: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterQueryArgs._configure( lambda key, value: pulumi.set(__self__, key, value), query_id=query_id, @@ -16383,7 +17954,11 @@ def _configure( multiple: Optional[pulumi.Input['SqlQueryParameterQueryMultipleArgs']] = None, value: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + _setter("query_id", query_id) if multiple is not None: _setter("multiple", multiple) @@ -16413,6 +17988,9 @@ def multiple(self, value: Optional[pulumi.Input['SqlQueryParameterQueryMultipleA @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -16447,7 +18025,9 @@ def _configure( prefix: pulumi.Input[str], separator: pulumi.Input[str], suffix: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("prefix", prefix) _setter("separator", separator) _setter("suffix", suffix) @@ -16484,6 +18064,9 @@ def suffix(self, value: pulumi.Input[str]): class SqlQueryParameterTextArgs: def __init__(__self__, *, value: pulumi.Input[str]): + """ + :param pulumi.Input[str] value: The default value for this parameter. + """ SqlQueryParameterTextArgs._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -16492,12 +18075,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> pulumi.Input[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @value.setter @@ -16523,7 +18111,9 @@ def _configure( continuous: Optional[pulumi.Input['SqlQueryScheduleContinuousArgs']] = None, daily: Optional[pulumi.Input['SqlQueryScheduleDailyArgs']] = None, weekly: Optional[pulumi.Input['SqlQueryScheduleWeeklyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if continuous is not None: _setter("continuous", continuous) if daily is not None: @@ -16574,7 +18164,13 @@ def _configure( _setter: Callable[[Any, Any], None], interval_seconds: pulumi.Input[int], until_date: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalSeconds' in kwargs: + interval_seconds = kwargs['intervalSeconds'] + if 'untilDate' in kwargs: + until_date = kwargs['untilDate'] + _setter("interval_seconds", interval_seconds) if until_date is not None: _setter("until_date", until_date) @@ -16616,7 +18212,15 @@ def _configure( interval_days: pulumi.Input[int], time_of_day: pulumi.Input[str], until_date: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalDays' in kwargs: + interval_days = kwargs['intervalDays'] + if 'timeOfDay' in kwargs: + time_of_day = kwargs['timeOfDay'] + if 'untilDate' in kwargs: + until_date = kwargs['untilDate'] + _setter("interval_days", interval_days) _setter("time_of_day", time_of_day) if until_date is not None: @@ -16671,7 +18275,17 @@ def _configure( interval_weeks: pulumi.Input[int], time_of_day: pulumi.Input[str], until_date: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dayOfWeek' in kwargs: + day_of_week = kwargs['dayOfWeek'] + if 'intervalWeeks' in kwargs: + interval_weeks = kwargs['intervalWeeks'] + if 'timeOfDay' in kwargs: + time_of_day = kwargs['timeOfDay'] + if 'untilDate' in kwargs: + until_date = kwargs['untilDate'] + _setter("day_of_week", day_of_week) _setter("interval_weeks", interval_weeks) _setter("time_of_day", time_of_day) @@ -16742,7 +18356,9 @@ def _configure( comment: Optional[pulumi.Input[str]] = None, nullable: Optional[pulumi.Input[bool]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) if comment is not None: _setter("comment", comment) @@ -16827,7 +18443,11 @@ def _configure( title: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'mapTo' in kwargs: + map_to = kwargs['mapTo'] + _setter("name", name) _setter("type", type) if map_to is not None: @@ -16918,7 +18538,19 @@ def _configure( auto_height: Optional[pulumi.Input[bool]] = None, pos_x: Optional[pulumi.Input[int]] = None, pos_y: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sizeX' in kwargs: + size_x = kwargs['sizeX'] + if 'sizeY' in kwargs: + size_y = kwargs['sizeY'] + if 'autoHeight' in kwargs: + auto_height = kwargs['autoHeight'] + if 'posX' in kwargs: + pos_x = kwargs['posX'] + if 'posY' in kwargs: + pos_y = kwargs['posY'] + _setter("size_x", size_x) _setter("size_y", size_y) if auto_height is not None: @@ -16991,7 +18623,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], role_arn: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + _setter("role_arn", role_arn) @property @@ -17033,7 +18669,15 @@ def _configure( access_connector_id: pulumi.Input[str], credential_id: Optional[pulumi.Input[str]] = None, managed_identity_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessConnectorId' in kwargs: + access_connector_id = kwargs['accessConnectorId'] + if 'credentialId' in kwargs: + credential_id = kwargs['credentialId'] + if 'managedIdentityId' in kwargs: + managed_identity_id = kwargs['managedIdentityId'] + _setter("access_connector_id", access_connector_id) if credential_id is not None: _setter("credential_id", credential_id) @@ -17099,7 +18743,15 @@ def _configure( application_id: pulumi.Input[str], client_secret: pulumi.Input[str], directory_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'directoryId' in kwargs: + directory_id = kwargs['directoryId'] + _setter("application_id", application_id) _setter("client_secret", client_secret) _setter("directory_id", directory_id) @@ -17159,7 +18811,11 @@ def _configure( _setter: Callable[[Any, Any], None], credential_id: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'credentialId' in kwargs: + credential_id = kwargs['credentialId'] + if credential_id is not None: _setter("credential_id", credential_id) if email is not None: @@ -17208,7 +18864,13 @@ def _configure( email: pulumi.Input[str], private_key: pulumi.Input[str], private_key_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'privateKey' in kwargs: + private_key = kwargs['privateKey'] + if 'privateKeyId' in kwargs: + private_key_id = kwargs['privateKeyId'] + _setter("email", email) _setter("private_key", private_key) _setter("private_key_id", private_key_id) @@ -17286,7 +18948,23 @@ def _configure( type_json: Optional[pulumi.Input[str]] = None, type_precision: Optional[pulumi.Input[int]] = None, type_scale: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'typeName' in kwargs: + type_name = kwargs['typeName'] + if 'typeText' in kwargs: + type_text = kwargs['typeText'] + if 'partitionIndex' in kwargs: + partition_index = kwargs['partitionIndex'] + if 'typeIntervalType' in kwargs: + type_interval_type = kwargs['typeIntervalType'] + if 'typeJson' in kwargs: + type_json = kwargs['typeJson'] + if 'typePrecision' in kwargs: + type_precision = kwargs['typePrecision'] + if 'typeScale' in kwargs: + type_scale = kwargs['typeScale'] + _setter("name", name) _setter("position", position) _setter("type_name", type_name) @@ -17564,7 +19242,87 @@ def _configure( state_message: Optional[str] = None, terminate_time: Optional[int] = None, termination_reason: Optional['GetClusterClusterInfoTerminationReasonArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultTags' in kwargs: + default_tags = kwargs['defaultTags'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterCores' in kwargs: + cluster_cores = kwargs['clusterCores'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterLogStatus' in kwargs: + cluster_log_status = kwargs['clusterLogStatus'] + if 'clusterMemoryMb' in kwargs: + cluster_memory_mb = kwargs['clusterMemoryMb'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'clusterSource' in kwargs: + cluster_source = kwargs['clusterSource'] + if 'creatorUserName' in kwargs: + creator_user_name = kwargs['creatorUserName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'jdbcPort' in kwargs: + jdbc_port = kwargs['jdbcPort'] + if 'lastActivityTime' in kwargs: + last_activity_time = kwargs['lastActivityTime'] + if 'lastStateLossTime' in kwargs: + last_state_loss_time = kwargs['lastStateLossTime'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkContextId' in kwargs: + spark_context_id = kwargs['sparkContextId'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'startTime' in kwargs: + start_time = kwargs['startTime'] + if 'stateMessage' in kwargs: + state_message = kwargs['stateMessage'] + if 'terminateTime' in kwargs: + terminate_time = kwargs['terminateTime'] + if 'terminationReason' in kwargs: + termination_reason = kwargs['terminationReason'] + _setter("default_tags", default_tags) _setter("driver_instance_pool_id", driver_instance_pool_id) _setter("spark_version", spark_version) @@ -18105,7 +19863,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -18163,7 +19927,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -18272,7 +20052,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -18323,7 +20109,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['GetClusterClusterInfoClusterLogConfDbfsArgs'] = None, s3: Optional['GetClusterClusterInfoClusterLogConfS3Args'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -18360,7 +20148,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -18403,7 +20193,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -18497,7 +20297,13 @@ def _configure( _setter: Callable[[Any, Any], None], last_attempted: Optional[int] = None, last_exception: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'lastAttempted' in kwargs: + last_attempted = kwargs['lastAttempted'] + if 'lastException' in kwargs: + last_exception = kwargs['lastException'] + if last_attempted is not None: _setter("last_attempted", last_attempted) if last_exception is not None: @@ -18537,7 +20343,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['GetClusterClusterInfoDockerImageBasicAuthArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -18576,7 +20386,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -18629,7 +20441,23 @@ def _configure( private_ip: Optional[str] = None, public_dns: Optional[str] = None, start_timestamp: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hostPrivateIp' in kwargs: + host_private_ip = kwargs['hostPrivateIp'] + if 'instanceId' in kwargs: + instance_id = kwargs['instanceId'] + if 'nodeAwsAttributes' in kwargs: + node_aws_attributes = kwargs['nodeAwsAttributes'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'privateIp' in kwargs: + private_ip = kwargs['privateIp'] + if 'publicDns' in kwargs: + public_dns = kwargs['publicDns'] + if 'startTimestamp' in kwargs: + start_timestamp = kwargs['startTimestamp'] + if host_private_ip is not None: _setter("host_private_ip", host_private_ip) if instance_id is not None: @@ -18721,7 +20549,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], is_spot: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'isSpot' in kwargs: + is_spot = kwargs['isSpot'] + if is_spot is not None: _setter("is_spot", is_spot) @@ -18765,7 +20597,23 @@ def _configure( private_ip: Optional[str] = None, public_dns: Optional[str] = None, start_timestamp: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hostPrivateIp' in kwargs: + host_private_ip = kwargs['hostPrivateIp'] + if 'instanceId' in kwargs: + instance_id = kwargs['instanceId'] + if 'nodeAwsAttributes' in kwargs: + node_aws_attributes = kwargs['nodeAwsAttributes'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'privateIp' in kwargs: + private_ip = kwargs['privateIp'] + if 'publicDns' in kwargs: + public_dns = kwargs['publicDns'] + if 'startTimestamp' in kwargs: + start_timestamp = kwargs['startTimestamp'] + if host_private_ip is not None: _setter("host_private_ip", host_private_ip) if instance_id is not None: @@ -18857,7 +20705,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], is_spot: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'isSpot' in kwargs: + is_spot = kwargs['isSpot'] + if is_spot is not None: _setter("is_spot", is_spot) @@ -18898,7 +20750,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -18997,7 +20861,9 @@ def _configure( s3: Optional['GetClusterClusterInfoInitScriptS3Args'] = None, volumes: Optional['GetClusterClusterInfoInitScriptVolumesArgs'] = None, workspace: Optional['GetClusterClusterInfoInitScriptWorkspaceArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -19089,7 +20955,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -19115,7 +20983,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -19140,7 +21010,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -19166,7 +21038,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -19210,7 +21084,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -19301,7 +21185,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -19327,7 +21213,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -19359,7 +21247,9 @@ def _configure( code: Optional[str] = None, parameters: Optional[Mapping[str, Any]] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if code is not None: _setter("code", code) if parameters is not None: @@ -19458,7 +21348,41 @@ def _configure( preloaded_spark_versions: Optional[Sequence[str]] = None, state: Optional[str] = None, stats: Optional['GetInstancePoolPoolInfoStatsArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultTags' in kwargs: + default_tags = kwargs['defaultTags'] + if 'idleInstanceAutoterminationMinutes' in kwargs: + idle_instance_autotermination_minutes = kwargs['idleInstanceAutoterminationMinutes'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'instancePoolName' in kwargs: + instance_pool_name = kwargs['instancePoolName'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'diskSpec' in kwargs: + disk_spec = kwargs['diskSpec'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'instancePoolFleetAttributes' in kwargs: + instance_pool_fleet_attributes = kwargs['instancePoolFleetAttributes'] + if 'maxCapacity' in kwargs: + max_capacity = kwargs['maxCapacity'] + if 'minIdleInstances' in kwargs: + min_idle_instances = kwargs['minIdleInstances'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'preloadedDockerImages' in kwargs: + preloaded_docker_images = kwargs['preloadedDockerImages'] + if 'preloadedSparkVersions' in kwargs: + preloaded_spark_versions = kwargs['preloadedSparkVersions'] + _setter("default_tags", default_tags) _setter("idle_instance_autotermination_minutes", idle_instance_autotermination_minutes) _setter("instance_pool_id", instance_pool_id) @@ -19673,7 +21597,13 @@ def _configure( zone_id: str, availability: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + _setter("zone_id", zone_id) if availability is not None: _setter("availability", availability) @@ -19723,7 +21653,11 @@ def _configure( _setter: Callable[[Any, Any], None], availability: Optional[str] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if spot_bid_max_price is not None: @@ -19766,7 +21700,15 @@ def _configure( disk_count: Optional[int] = None, disk_size: Optional[int] = None, disk_type: Optional['GetInstancePoolPoolInfoDiskSpecDiskTypeArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'diskCount' in kwargs: + disk_count = kwargs['diskCount'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if disk_count is not None: _setter("disk_count", disk_count) if disk_size is not None: @@ -19817,7 +21759,13 @@ def _configure( _setter: Callable[[Any, Any], None], azure_disk_volume_type: Optional[str] = None, ebs_volume_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'azureDiskVolumeType' in kwargs: + azure_disk_volume_type = kwargs['azureDiskVolumeType'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if azure_disk_volume_type is not None: _setter("azure_disk_volume_type", azure_disk_volume_type) if ebs_volume_type is not None: @@ -19857,7 +21805,13 @@ def _configure( _setter: Callable[[Any, Any], None], gcp_availability: Optional[str] = None, local_ssd_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gcpAvailability' in kwargs: + gcp_availability = kwargs['gcpAvailability'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if gcp_availability is not None: _setter("gcp_availability", gcp_availability) if local_ssd_count is not None: @@ -19900,7 +21854,15 @@ def _configure( launch_template_overrides: Sequence['GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideArgs'], fleet_on_demand_option: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionArgs'] = None, fleet_spot_option: Optional['GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'launchTemplateOverrides' in kwargs: + launch_template_overrides = kwargs['launchTemplateOverrides'] + if 'fleetOnDemandOption' in kwargs: + fleet_on_demand_option = kwargs['fleetOnDemandOption'] + if 'fleetSpotOption' in kwargs: + fleet_spot_option = kwargs['fleetSpotOption'] + _setter("launch_template_overrides", launch_template_overrides) if fleet_on_demand_option is not None: _setter("fleet_on_demand_option", fleet_on_demand_option) @@ -19950,7 +21912,13 @@ def _configure( _setter: Callable[[Any, Any], None], allocation_strategy: str, instance_pools_to_use_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allocationStrategy' in kwargs: + allocation_strategy = kwargs['allocationStrategy'] + if 'instancePoolsToUseCount' in kwargs: + instance_pools_to_use_count = kwargs['instancePoolsToUseCount'] + _setter("allocation_strategy", allocation_strategy) if instance_pools_to_use_count is not None: _setter("instance_pools_to_use_count", instance_pools_to_use_count) @@ -19989,7 +21957,13 @@ def _configure( _setter: Callable[[Any, Any], None], allocation_strategy: str, instance_pools_to_use_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allocationStrategy' in kwargs: + allocation_strategy = kwargs['allocationStrategy'] + if 'instancePoolsToUseCount' in kwargs: + instance_pools_to_use_count = kwargs['instancePoolsToUseCount'] + _setter("allocation_strategy", allocation_strategy) if instance_pools_to_use_count is not None: _setter("instance_pools_to_use_count", instance_pools_to_use_count) @@ -20028,7 +22002,13 @@ def _configure( _setter: Callable[[Any, Any], None], availability_zone: str, instance_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + _setter("availability_zone", availability_zone) _setter("instance_type", instance_type) @@ -20066,7 +22046,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -20105,7 +22089,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -20149,7 +22135,17 @@ def _configure( pending_idle_count: Optional[int] = None, pending_used_count: Optional[int] = None, used_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'idleCount' in kwargs: + idle_count = kwargs['idleCount'] + if 'pendingIdleCount' in kwargs: + pending_idle_count = kwargs['pendingIdleCount'] + if 'pendingUsedCount' in kwargs: + pending_used_count = kwargs['pendingUsedCount'] + if 'usedCount' in kwargs: + used_count = kwargs['usedCount'] + if idle_count is not None: _setter("idle_count", idle_count) if pending_idle_count is not None: @@ -20220,7 +22216,17 @@ def _configure( creator_user_name: Optional[str] = None, job_id: Optional[int] = None, settings: Optional['GetJobJobSettingsSettingsArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'runAsUserName' in kwargs: + run_as_user_name = kwargs['runAsUserName'] + if 'createdTime' in kwargs: + created_time = kwargs['createdTime'] + if 'creatorUserName' in kwargs: + creator_user_name = kwargs['creatorUserName'] + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + _setter("run_as_user_name", run_as_user_name) if created_time is not None: _setter("created_time", created_time) @@ -20388,7 +22394,51 @@ def _configure( timeout_seconds: Optional[int] = None, trigger: Optional['GetJobJobSettingsSettingsTriggerArgs'] = None, webhook_notifications: Optional['GetJobJobSettingsSettingsWebhookNotificationsArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dbtTask' in kwargs: + dbt_task = kwargs['dbtTask'] + if 'emailNotifications' in kwargs: + email_notifications = kwargs['emailNotifications'] + if 'existingClusterId' in kwargs: + existing_cluster_id = kwargs['existingClusterId'] + if 'gitSource' in kwargs: + git_source = kwargs['gitSource'] + if 'jobClusters' in kwargs: + job_clusters = kwargs['jobClusters'] + if 'maxConcurrentRuns' in kwargs: + max_concurrent_runs = kwargs['maxConcurrentRuns'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'minRetryIntervalMillis' in kwargs: + min_retry_interval_millis = kwargs['minRetryIntervalMillis'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if 'notebookTask' in kwargs: + notebook_task = kwargs['notebookTask'] + if 'notificationSettings' in kwargs: + notification_settings = kwargs['notificationSettings'] + if 'pipelineTask' in kwargs: + pipeline_task = kwargs['pipelineTask'] + if 'pythonWheelTask' in kwargs: + python_wheel_task = kwargs['pythonWheelTask'] + if 'retryOnTimeout' in kwargs: + retry_on_timeout = kwargs['retryOnTimeout'] + if 'runAs' in kwargs: + run_as = kwargs['runAs'] + if 'runJobTask' in kwargs: + run_job_task = kwargs['runJobTask'] + if 'sparkJarTask' in kwargs: + spark_jar_task = kwargs['sparkJarTask'] + if 'sparkPythonTask' in kwargs: + spark_python_task = kwargs['sparkPythonTask'] + if 'sparkSubmitTask' in kwargs: + spark_submit_task = kwargs['sparkSubmitTask'] + if 'timeoutSeconds' in kwargs: + timeout_seconds = kwargs['timeoutSeconds'] + if 'webhookNotifications' in kwargs: + webhook_notifications = kwargs['webhookNotifications'] + _setter("format", format) if computes is not None: _setter("computes", computes) @@ -20771,7 +22821,11 @@ def _configure( _setter: Callable[[Any, Any], None], compute_key: Optional[str] = None, spec: Optional['GetJobJobSettingsSettingsComputeSpecArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'computeKey' in kwargs: + compute_key = kwargs['computeKey'] + if compute_key is not None: _setter("compute_key", compute_key) if spec is not None: @@ -20808,7 +22862,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], kind: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if kind is not None: _setter("kind", kind) @@ -20834,7 +22890,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + if pause_status is not None: _setter("pause_status", pause_status) @@ -20875,7 +22935,15 @@ def _configure( project_directory: Optional[str] = None, schema: Optional[str] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'profilesDirectory' in kwargs: + profiles_directory = kwargs['profilesDirectory'] + if 'projectDirectory' in kwargs: + project_directory = kwargs['projectDirectory'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + _setter("commands", commands) if catalog is not None: _setter("catalog", catalog) @@ -20970,7 +23038,21 @@ def _configure( on_failures: Optional[Sequence[str]] = None, on_starts: Optional[Sequence[str]] = None, on_successes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_skipped_runs is not None: @@ -21066,7 +23148,11 @@ def _configure( job_source: Optional['GetJobJobSettingsSettingsGitSourceJobSourceArgs'] = None, provider: Optional[str] = None, tag: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobSource' in kwargs: + job_source = kwargs['jobSource'] + _setter("url", url) if branch is not None: _setter("branch", branch) @@ -21152,7 +23238,15 @@ def _configure( import_from_git_branch: str, job_config_path: str, dirty_state: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'importFromGitBranch' in kwargs: + import_from_git_branch = kwargs['importFromGitBranch'] + if 'jobConfigPath' in kwargs: + job_config_path = kwargs['jobConfigPath'] + if 'dirtyState' in kwargs: + dirty_state = kwargs['dirtyState'] + _setter("import_from_git_branch", import_from_git_branch) _setter("job_config_path", job_config_path) if dirty_state is not None: @@ -21198,7 +23292,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rules: Sequence['GetJobJobSettingsSettingsHealthRuleArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rules", rules) @property @@ -21229,7 +23325,9 @@ def _configure( metric: Optional[str] = None, op: Optional[str] = None, value: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if metric is not None: _setter("metric", metric) if op is not None: @@ -21280,7 +23378,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_cluster_key: Optional[str] = None, new_cluster: Optional['GetJobJobSettingsSettingsJobClusterNewClusterArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobClusterKey' in kwargs: + job_cluster_key = kwargs['jobClusterKey'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if job_cluster_key is not None: _setter("job_cluster_key", job_cluster_key) if new_cluster is not None: @@ -21404,7 +23508,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("driver_instance_pool_id", driver_instance_pool_id) _setter("driver_node_type_id", driver_node_type_id) _setter("enable_elastic_disk", enable_elastic_disk) @@ -21745,7 +23909,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -21803,7 +23973,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -21912,7 +24098,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -21963,7 +24155,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsArgs'] = None, s3: Optional['GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Args'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -22000,7 +24194,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -22043,7 +24239,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -22140,7 +24346,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -22189,7 +24403,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -22228,7 +24448,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -22267,7 +24491,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -22317,7 +24543,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -22416,7 +24654,9 @@ def _configure( s3: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Args'] = None, volumes: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesArgs'] = None, workspace: Optional['GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -22508,7 +24748,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22534,7 +24776,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -22559,7 +24803,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22585,7 +24831,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22629,7 +24877,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -22720,7 +24978,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22746,7 +25006,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22772,7 +25034,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsArgs', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -22800,7 +25064,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -22852,7 +25118,9 @@ def _configure( maven: Optional['GetJobJobSettingsSettingsLibraryMavenArgs'] = None, pypi: Optional['GetJobJobSettingsSettingsLibraryPypiArgs'] = None, whl: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -22936,7 +25204,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -22978,7 +25248,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -23028,7 +25300,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -23151,7 +25425,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['GetJobJobSettingsSettingsNewClusterWorkloadTypeArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("driver_instance_pool_id", driver_instance_pool_id) _setter("driver_node_type_id", driver_node_type_id) _setter("enable_elastic_disk", enable_elastic_disk) @@ -23492,7 +25826,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -23550,7 +25890,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -23659,7 +26015,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -23710,7 +26072,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsArgs'] = None, s3: Optional['GetJobJobSettingsSettingsNewClusterClusterLogConfS3Args'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -23747,7 +26111,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -23790,7 +26156,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -23887,7 +26263,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoArgs', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -23936,7 +26320,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -23975,7 +26365,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -24014,7 +26408,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -24064,7 +26460,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -24163,7 +26571,9 @@ def _configure( s3: Optional['GetJobJobSettingsSettingsNewClusterInitScriptS3Args'] = None, volumes: Optional['GetJobJobSettingsSettingsNewClusterInitScriptVolumesArgs'] = None, workspace: Optional['GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -24255,7 +26665,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24281,7 +26693,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -24306,7 +26720,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24332,7 +26748,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24376,7 +26794,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -24467,7 +26895,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24493,7 +26923,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24519,7 +26951,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsArgs', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -24547,7 +26981,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -24590,7 +27026,13 @@ def _configure( notebook_path: str, base_parameters: Optional[Mapping[str, Any]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'baseParameters' in kwargs: + base_parameters = kwargs['baseParameters'] + _setter("notebook_path", notebook_path) if base_parameters is not None: _setter("base_parameters", base_parameters) @@ -24640,7 +27082,13 @@ def _configure( _setter: Callable[[Any, Any], None], no_alert_for_canceled_runs: Optional[bool] = None, no_alert_for_skipped_runs: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'noAlertForCanceledRuns' in kwargs: + no_alert_for_canceled_runs = kwargs['noAlertForCanceledRuns'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if no_alert_for_canceled_runs is not None: _setter("no_alert_for_canceled_runs", no_alert_for_canceled_runs) if no_alert_for_skipped_runs is not None: @@ -24683,7 +27131,9 @@ def _configure( _setter: Callable[[Any, Any], None], default: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if default is not None: _setter("default", default) if name is not None: @@ -24726,7 +27176,13 @@ def _configure( _setter: Callable[[Any, Any], None], pipeline_id: str, full_refresh: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'fullRefresh' in kwargs: + full_refresh = kwargs['fullRefresh'] + _setter("pipeline_id", pipeline_id) if full_refresh is not None: _setter("full_refresh", full_refresh) @@ -24771,7 +27227,15 @@ def _configure( named_parameters: Optional[Mapping[str, Any]] = None, package_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'entryPoint' in kwargs: + entry_point = kwargs['entryPoint'] + if 'namedParameters' in kwargs: + named_parameters = kwargs['namedParameters'] + if 'packageName' in kwargs: + package_name = kwargs['packageName'] + if entry_point is not None: _setter("entry_point", entry_point) if named_parameters is not None: @@ -24820,13 +27284,29 @@ def parameters(self, value: Optional[Sequence[str]]): @pulumi.input_type class GetJobJobSettingsSettingsQueueArgs: - def __init__(__self__): - pass + def __init__(__self__, *, + enabled: bool): + GetJobJobSettingsSettingsQueueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + ) @staticmethod def _configure( _setter: Callable[[Any, Any], None], - opts: Optional[pulumi.ResourceOptions]=None): - pass + enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> bool: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: bool): + pulumi.set(self, "enabled", value) @pulumi.input_type @@ -24844,7 +27324,13 @@ def _configure( _setter: Callable[[Any, Any], None], service_principal_name: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servicePrincipalName' in kwargs: + service_principal_name = kwargs['servicePrincipalName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if service_principal_name is not None: _setter("service_principal_name", service_principal_name) if user_name is not None: @@ -24884,7 +27370,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_id: int, job_parameters: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'jobParameters' in kwargs: + job_parameters = kwargs['jobParameters'] + _setter("job_id", job_id) if job_parameters is not None: _setter("job_parameters", job_parameters) @@ -24926,7 +27418,15 @@ def _configure( quartz_cron_expression: str, timezone_id: str, pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'quartzCronExpression' in kwargs: + quartz_cron_expression = kwargs['quartzCronExpression'] + if 'timezoneId' in kwargs: + timezone_id = kwargs['timezoneId'] + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + _setter("quartz_cron_expression", quartz_cron_expression) _setter("timezone_id", timezone_id) if pause_status is not None: @@ -24978,7 +27478,13 @@ def _configure( jar_uri: Optional[str] = None, main_class_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jarUri' in kwargs: + jar_uri = kwargs['jarUri'] + if 'mainClassName' in kwargs: + main_class_name = kwargs['mainClassName'] + if jar_uri is not None: _setter("jar_uri", jar_uri) if main_class_name is not None: @@ -25032,7 +27538,11 @@ def _configure( python_file: str, parameters: Optional[Sequence[str]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pythonFile' in kwargs: + python_file = kwargs['pythonFile'] + _setter("python_file", python_file) if parameters is not None: _setter("parameters", parameters) @@ -25079,7 +27589,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if parameters is not None: _setter("parameters", parameters) @@ -25180,7 +27692,55 @@ def _configure( sql_task: Optional['GetJobJobSettingsSettingsTaskSqlTaskArgs'] = None, task_key: Optional[str] = None, timeout_seconds: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'retryOnTimeout' in kwargs: + retry_on_timeout = kwargs['retryOnTimeout'] + if 'computeKey' in kwargs: + compute_key = kwargs['computeKey'] + if 'conditionTask' in kwargs: + condition_task = kwargs['conditionTask'] + if 'dbtTask' in kwargs: + dbt_task = kwargs['dbtTask'] + if 'dependsOns' in kwargs: + depends_ons = kwargs['dependsOns'] + if 'emailNotifications' in kwargs: + email_notifications = kwargs['emailNotifications'] + if 'existingClusterId' in kwargs: + existing_cluster_id = kwargs['existingClusterId'] + if 'jobClusterKey' in kwargs: + job_cluster_key = kwargs['jobClusterKey'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'minRetryIntervalMillis' in kwargs: + min_retry_interval_millis = kwargs['minRetryIntervalMillis'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if 'notebookTask' in kwargs: + notebook_task = kwargs['notebookTask'] + if 'notificationSettings' in kwargs: + notification_settings = kwargs['notificationSettings'] + if 'pipelineTask' in kwargs: + pipeline_task = kwargs['pipelineTask'] + if 'pythonWheelTask' in kwargs: + python_wheel_task = kwargs['pythonWheelTask'] + if 'runIf' in kwargs: + run_if = kwargs['runIf'] + if 'runJobTask' in kwargs: + run_job_task = kwargs['runJobTask'] + if 'sparkJarTask' in kwargs: + spark_jar_task = kwargs['sparkJarTask'] + if 'sparkPythonTask' in kwargs: + spark_python_task = kwargs['sparkPythonTask'] + if 'sparkSubmitTask' in kwargs: + spark_submit_task = kwargs['sparkSubmitTask'] + if 'sqlTask' in kwargs: + sql_task = kwargs['sqlTask'] + if 'taskKey' in kwargs: + task_key = kwargs['taskKey'] + if 'timeoutSeconds' in kwargs: + timeout_seconds = kwargs['timeoutSeconds'] + _setter("retry_on_timeout", retry_on_timeout) if compute_key is not None: _setter("compute_key", compute_key) @@ -25486,7 +28046,9 @@ def _configure( left: Optional[str] = None, op: Optional[str] = None, right: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if left is not None: _setter("left", left) if op is not None: @@ -25549,7 +28111,15 @@ def _configure( project_directory: Optional[str] = None, schema: Optional[str] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'profilesDirectory' in kwargs: + profiles_directory = kwargs['profilesDirectory'] + if 'projectDirectory' in kwargs: + project_directory = kwargs['projectDirectory'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + _setter("commands", commands) if catalog is not None: _setter("catalog", catalog) @@ -25632,7 +28202,11 @@ def _configure( _setter: Callable[[Any, Any], None], task_key: str, outcome: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'taskKey' in kwargs: + task_key = kwargs['taskKey'] + _setter("task_key", task_key) if outcome is not None: _setter("outcome", outcome) @@ -25683,7 +28257,21 @@ def _configure( on_failures: Optional[Sequence[str]] = None, on_starts: Optional[Sequence[str]] = None, on_successes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_skipped_runs is not None: @@ -25764,7 +28352,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rules: Sequence['GetJobJobSettingsSettingsTaskHealthRuleArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rules", rules) @property @@ -25795,7 +28385,9 @@ def _configure( metric: Optional[str] = None, op: Optional[str] = None, value: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if metric is not None: _setter("metric", metric) if op is not None: @@ -25858,7 +28450,9 @@ def _configure( maven: Optional['GetJobJobSettingsSettingsTaskLibraryMavenArgs'] = None, pypi: Optional['GetJobJobSettingsSettingsTaskLibraryPypiArgs'] = None, whl: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -25942,7 +28536,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -25984,7 +28580,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -26034,7 +28632,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -26157,7 +28757,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("driver_instance_pool_id", driver_instance_pool_id) _setter("driver_node_type_id", driver_node_type_id) _setter("enable_elastic_disk", enable_elastic_disk) @@ -26498,7 +29158,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -26556,7 +29222,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -26665,7 +29347,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -26716,7 +29404,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsArgs'] = None, s3: Optional['GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Args'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -26753,7 +29443,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -26796,7 +29488,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -26893,7 +29595,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -26942,7 +29652,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -26981,7 +29697,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -27020,7 +29740,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -27070,7 +29792,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -27169,7 +29903,9 @@ def _configure( s3: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Args'] = None, volumes: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesArgs'] = None, workspace: Optional['GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceArgs'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -27261,7 +29997,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -27287,7 +30025,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -27312,7 +30052,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -27338,7 +30080,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -27382,7 +30126,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -27473,7 +30227,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -27499,7 +30255,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -27525,7 +30283,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsArgs', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -27553,7 +30313,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -27596,7 +30358,13 @@ def _configure( notebook_path: str, base_parameters: Optional[Mapping[str, Any]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'baseParameters' in kwargs: + base_parameters = kwargs['baseParameters'] + _setter("notebook_path", notebook_path) if base_parameters is not None: _setter("base_parameters", base_parameters) @@ -27649,7 +30417,15 @@ def _configure( alert_on_last_attempt: Optional[bool] = None, no_alert_for_canceled_runs: Optional[bool] = None, no_alert_for_skipped_runs: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForCanceledRuns' in kwargs: + no_alert_for_canceled_runs = kwargs['noAlertForCanceledRuns'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_canceled_runs is not None: @@ -27700,7 +30476,13 @@ def _configure( _setter: Callable[[Any, Any], None], pipeline_id: str, full_refresh: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'fullRefresh' in kwargs: + full_refresh = kwargs['fullRefresh'] + _setter("pipeline_id", pipeline_id) if full_refresh is not None: _setter("full_refresh", full_refresh) @@ -27745,7 +30527,15 @@ def _configure( named_parameters: Optional[Mapping[str, Any]] = None, package_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'entryPoint' in kwargs: + entry_point = kwargs['entryPoint'] + if 'namedParameters' in kwargs: + named_parameters = kwargs['namedParameters'] + if 'packageName' in kwargs: + package_name = kwargs['packageName'] + if entry_point is not None: _setter("entry_point", entry_point) if named_parameters is not None: @@ -27807,7 +30597,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_id: int, job_parameters: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'jobParameters' in kwargs: + job_parameters = kwargs['jobParameters'] + _setter("job_id", job_id) if job_parameters is not None: _setter("job_parameters", job_parameters) @@ -27849,7 +30645,13 @@ def _configure( jar_uri: Optional[str] = None, main_class_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jarUri' in kwargs: + jar_uri = kwargs['jarUri'] + if 'mainClassName' in kwargs: + main_class_name = kwargs['mainClassName'] + if jar_uri is not None: _setter("jar_uri", jar_uri) if main_class_name is not None: @@ -27903,7 +30705,11 @@ def _configure( python_file: str, parameters: Optional[Sequence[str]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pythonFile' in kwargs: + python_file = kwargs['pythonFile'] + _setter("python_file", python_file) if parameters is not None: _setter("parameters", parameters) @@ -27950,7 +30756,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if parameters is not None: _setter("parameters", parameters) @@ -27991,7 +30799,11 @@ def _configure( parameters: Optional[Mapping[str, Any]] = None, query: Optional['GetJobJobSettingsSettingsTaskSqlTaskQueryArgs'] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + if alert is not None: _setter("alert", alert) if dashboard is not None: @@ -28078,7 +30890,13 @@ def _configure( alert_id: str, subscriptions: Sequence['GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionArgs'], pause_subscriptions: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if 'pauseSubscriptions' in kwargs: + pause_subscriptions = kwargs['pauseSubscriptions'] + _setter("alert_id", alert_id) _setter("subscriptions", subscriptions) if pause_subscriptions is not None: @@ -28127,7 +30945,13 @@ def _configure( _setter: Callable[[Any, Any], None], destination_id: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'destinationId' in kwargs: + destination_id = kwargs['destinationId'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if destination_id is not None: _setter("destination_id", destination_id) if user_name is not None: @@ -28173,7 +30997,15 @@ def _configure( custom_subject: Optional[str] = None, pause_subscriptions: Optional[bool] = None, subscriptions: Optional[Sequence['GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dashboardId' in kwargs: + dashboard_id = kwargs['dashboardId'] + if 'customSubject' in kwargs: + custom_subject = kwargs['customSubject'] + if 'pauseSubscriptions' in kwargs: + pause_subscriptions = kwargs['pauseSubscriptions'] + _setter("dashboard_id", dashboard_id) if custom_subject is not None: _setter("custom_subject", custom_subject) @@ -28234,7 +31066,13 @@ def _configure( _setter: Callable[[Any, Any], None], destination_id: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'destinationId' in kwargs: + destination_id = kwargs['destinationId'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if destination_id is not None: _setter("destination_id", destination_id) if user_name is not None: @@ -28271,7 +31109,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], path: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) @property @@ -28296,7 +31136,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], query_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + _setter("query_id", query_id) @property @@ -28324,7 +31168,13 @@ def _configure( _setter: Callable[[Any, Any], None], file_arrival: 'GetJobJobSettingsSettingsTriggerFileArrivalArgs', pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'fileArrival' in kwargs: + file_arrival = kwargs['fileArrival'] + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + _setter("file_arrival", file_arrival) if pause_status is not None: _setter("pause_status", pause_status) @@ -28366,7 +31216,13 @@ def _configure( url: str, min_time_between_triggers_seconds: Optional[int] = None, wait_after_last_change_seconds: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'minTimeBetweenTriggersSeconds' in kwargs: + min_time_between_triggers_seconds = kwargs['minTimeBetweenTriggersSeconds'] + if 'waitAfterLastChangeSeconds' in kwargs: + wait_after_last_change_seconds = kwargs['waitAfterLastChangeSeconds'] + _setter("url", url) if min_time_between_triggers_seconds is not None: _setter("min_time_between_triggers_seconds", min_time_between_triggers_seconds) @@ -28422,7 +31278,17 @@ def _configure( on_failures: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnFailureArgs']] = None, on_starts: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnStartArgs']] = None, on_successes: Optional[Sequence['GetJobJobSettingsSettingsWebhookNotificationsOnSuccessArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if on_duration_warning_threshold_exceededs is not None: _setter("on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) if on_failures is not None: @@ -28484,7 +31350,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -28515,7 +31383,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -28546,7 +31416,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -28577,7 +31449,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -28665,7 +31539,37 @@ def _configure( storage_root_credential_name: Optional[str] = None, updated_at: Optional[int] = None, updated_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'defaultDataAccessConfigId' in kwargs: + default_data_access_config_id = kwargs['defaultDataAccessConfigId'] + if 'deltaSharingOrganizationName' in kwargs: + delta_sharing_organization_name = kwargs['deltaSharingOrganizationName'] + if 'deltaSharingRecipientTokenLifetimeInSeconds' in kwargs: + delta_sharing_recipient_token_lifetime_in_seconds = kwargs['deltaSharingRecipientTokenLifetimeInSeconds'] + if 'deltaSharingScope' in kwargs: + delta_sharing_scope = kwargs['deltaSharingScope'] + if 'globalMetastoreId' in kwargs: + global_metastore_id = kwargs['globalMetastoreId'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'privilegeModelVersion' in kwargs: + privilege_model_version = kwargs['privilegeModelVersion'] + if 'storageRoot' in kwargs: + storage_root = kwargs['storageRoot'] + if 'storageRootCredentialId' in kwargs: + storage_root_credential_id = kwargs['storageRootCredentialId'] + if 'storageRootCredentialName' in kwargs: + storage_root_credential_name = kwargs['storageRootCredentialName'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if cloud is not None: _setter("cloud", cloud) if created_at is not None: @@ -28934,7 +31838,23 @@ def _configure( partitions: Optional[Sequence['GetShareObjectPartitionArgs']] = None, shared_as: Optional[str] = None, start_version: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addedAt' in kwargs: + added_at = kwargs['addedAt'] + if 'addedBy' in kwargs: + added_by = kwargs['addedBy'] + if 'dataObjectType' in kwargs: + data_object_type = kwargs['dataObjectType'] + if 'cdfEnabled' in kwargs: + cdf_enabled = kwargs['cdfEnabled'] + if 'historyDataSharingStatus' in kwargs: + history_data_sharing_status = kwargs['historyDataSharingStatus'] + if 'sharedAs' in kwargs: + shared_as = kwargs['sharedAs'] + if 'startVersion' in kwargs: + start_version = kwargs['startVersion'] + _setter("added_at", added_at) _setter("added_by", added_by) _setter("data_object_type", data_object_type) @@ -29074,7 +31994,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], values: Sequence['GetShareObjectPartitionValueArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("values", values) @property @@ -29111,7 +32033,11 @@ def _configure( op: str, recipient_property_key: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'recipientPropertyKey' in kwargs: + recipient_property_key = kwargs['recipientPropertyKey'] + _setter("name", name) _setter("op", op) if recipient_property_key is not None: @@ -29174,7 +32100,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if name is not None: _setter("name", name) @@ -29215,7 +32143,9 @@ def _configure( protocol: str, host: Optional[str] = None, hostname: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) _setter("port", port) _setter("protocol", protocol) @@ -29282,7 +32212,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], custom_tags: Sequence['GetSqlWarehouseTagsCustomTagArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + _setter("custom_tags", custom_tags) @property @@ -29310,7 +32244,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: str, value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("value", value) diff --git a/sdk/python/pulumi_databricks/access_control_rule_set.py b/sdk/python/pulumi_databricks/access_control_rule_set.py index a0ff39b7..868048c0 100644 --- a/sdk/python/pulumi_databricks/access_control_rule_set.py +++ b/sdk/python/pulumi_databricks/access_control_rule_set.py @@ -38,7 +38,11 @@ def _configure( _setter: Callable[[Any, Any], None], grant_rules: Optional[pulumi.Input[Sequence[pulumi.Input['AccessControlRuleSetGrantRuleArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'grantRules' in kwargs: + grant_rules = kwargs['grantRules'] + if grant_rules is not None: _setter("grant_rules", grant_rules) if name is not None: @@ -102,7 +106,11 @@ def _configure( etag: Optional[pulumi.Input[str]] = None, grant_rules: Optional[pulumi.Input[Sequence[pulumi.Input['AccessControlRuleSetGrantRuleArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'grantRules' in kwargs: + grant_rules = kwargs['grantRules'] + if etag is not None: _setter("etag", etag) if grant_rules is not None: diff --git a/sdk/python/pulumi_databricks/catalog.py b/sdk/python/pulumi_databricks/catalog.py index 93d60c3d..af29c4a1 100644 --- a/sdk/python/pulumi_databricks/catalog.py +++ b/sdk/python/pulumi_databricks/catalog.py @@ -70,7 +70,23 @@ def _configure( provider_name: Optional[pulumi.Input[str]] = None, share_name: Optional[pulumi.Input[str]] = None, storage_root: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionName' in kwargs: + connection_name = kwargs['connectionName'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'isolationMode' in kwargs: + isolation_mode = kwargs['isolationMode'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'providerName' in kwargs: + provider_name = kwargs['providerName'] + if 'shareName' in kwargs: + share_name = kwargs['shareName'] + if 'storageRoot' in kwargs: + storage_root = kwargs['storageRoot'] + if comment is not None: _setter("comment", comment) if connection_name is not None: @@ -297,7 +313,23 @@ def _configure( provider_name: Optional[pulumi.Input[str]] = None, share_name: Optional[pulumi.Input[str]] = None, storage_root: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionName' in kwargs: + connection_name = kwargs['connectionName'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'isolationMode' in kwargs: + isolation_mode = kwargs['isolationMode'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'providerName' in kwargs: + provider_name = kwargs['providerName'] + if 'shareName' in kwargs: + share_name = kwargs['shareName'] + if 'storageRoot' in kwargs: + storage_root = kwargs['storageRoot'] + if comment is not None: _setter("comment", comment) if connection_name is not None: diff --git a/sdk/python/pulumi_databricks/catalog_workspace_binding.py b/sdk/python/pulumi_databricks/catalog_workspace_binding.py index 565f7031..0d256e7e 100644 --- a/sdk/python/pulumi_databricks/catalog_workspace_binding.py +++ b/sdk/python/pulumi_databricks/catalog_workspace_binding.py @@ -31,7 +31,13 @@ def _configure( _setter: Callable[[Any, Any], None], catalog_name: pulumi.Input[str], workspace_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + _setter("catalog_name", catalog_name) _setter("workspace_id", workspace_id) @@ -80,7 +86,13 @@ def _configure( _setter: Callable[[Any, Any], None], catalog_name: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + if catalog_name is not None: _setter("catalog_name", catalog_name) if workspace_id is not None: diff --git a/sdk/python/pulumi_databricks/cluster.py b/sdk/python/pulumi_databricks/cluster.py index c515e62e..d5645500 100644 --- a/sdk/python/pulumi_databricks/cluster.py +++ b/sdk/python/pulumi_databricks/cluster.py @@ -165,7 +165,69 @@ def _configure( spark_env_vars: Optional[pulumi.Input[Mapping[str, Any]]] = None, ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, workload_type: Optional[pulumi.Input['ClusterWorkloadTypeArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'isPinned' in kwargs: + is_pinned = kwargs['isPinned'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("spark_version", spark_version) if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) @@ -181,9 +243,6 @@ def _configure( _setter("cluster_id", cluster_id) if cluster_log_conf is not None: _setter("cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - warnings.warn("""cluster_mount_info block is deprecated due the Clusters API changes.""", DeprecationWarning) - pulumi.log.warn("""cluster_mount_infos is deprecated: cluster_mount_info block is deprecated due the Clusters API changes.""") if cluster_mount_infos is not None: _setter("cluster_mount_infos", cluster_mount_infos) if cluster_name is not None: @@ -317,9 +376,6 @@ def cluster_log_conf(self, value: Optional[pulumi.Input['ClusterClusterLogConfAr @property @pulumi.getter(name="clusterMountInfos") def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterMountInfoArgs']]]]: - warnings.warn("""cluster_mount_info block is deprecated due the Clusters API changes.""", DeprecationWarning) - pulumi.log.warn("""cluster_mount_infos is deprecated: cluster_mount_info block is deprecated due the Clusters API changes.""") - return pulumi.get(self, "cluster_mount_infos") @cluster_mount_infos.setter @@ -772,7 +828,71 @@ def _configure( state: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, workload_type: Optional[pulumi.Input['ClusterWorkloadTypeArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'defaultTags' in kwargs: + default_tags = kwargs['defaultTags'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'isPinned' in kwargs: + is_pinned = kwargs['isPinned'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) if autoscale is not None: @@ -787,9 +907,6 @@ def _configure( _setter("cluster_id", cluster_id) if cluster_log_conf is not None: _setter("cluster_log_conf", cluster_log_conf) - if cluster_mount_infos is not None: - warnings.warn("""cluster_mount_info block is deprecated due the Clusters API changes.""", DeprecationWarning) - pulumi.log.warn("""cluster_mount_infos is deprecated: cluster_mount_info block is deprecated due the Clusters API changes.""") if cluster_mount_infos is not None: _setter("cluster_mount_infos", cluster_mount_infos) if cluster_name is not None: @@ -919,9 +1036,6 @@ def cluster_log_conf(self, value: Optional[pulumi.Input['ClusterClusterLogConfAr @property @pulumi.getter(name="clusterMountInfos") def cluster_mount_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterMountInfoArgs']]]]: - warnings.warn("""cluster_mount_info block is deprecated due the Clusters API changes.""", DeprecationWarning) - pulumi.log.warn("""cluster_mount_infos is deprecated: cluster_mount_info block is deprecated due the Clusters API changes.""") - return pulumi.get(self, "cluster_mount_infos") @cluster_mount_infos.setter @@ -1681,9 +1795,6 @@ def cluster_log_conf(self) -> pulumi.Output[Optional['outputs.ClusterClusterLogC @property @pulumi.getter(name="clusterMountInfos") def cluster_mount_infos(self) -> pulumi.Output[Optional[Sequence['outputs.ClusterClusterMountInfo']]]: - warnings.warn("""cluster_mount_info block is deprecated due the Clusters API changes.""", DeprecationWarning) - pulumi.log.warn("""cluster_mount_infos is deprecated: cluster_mount_info block is deprecated due the Clusters API changes.""") - return pulumi.get(self, "cluster_mount_infos") @property diff --git a/sdk/python/pulumi_databricks/cluster_policy.py b/sdk/python/pulumi_databricks/cluster_policy.py index c6f2b97b..8d8d7fff 100644 --- a/sdk/python/pulumi_databricks/cluster_policy.py +++ b/sdk/python/pulumi_databricks/cluster_policy.py @@ -47,7 +47,15 @@ def _configure( name: Optional[pulumi.Input[str]] = None, policy_family_definition_overrides: Optional[pulumi.Input[str]] = None, policy_family_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxClustersPerUser' in kwargs: + max_clusters_per_user = kwargs['maxClustersPerUser'] + if 'policyFamilyDefinitionOverrides' in kwargs: + policy_family_definition_overrides = kwargs['policyFamilyDefinitionOverrides'] + if 'policyFamilyId' in kwargs: + policy_family_id = kwargs['policyFamilyId'] + if definition is not None: _setter("definition", definition) if description is not None: @@ -174,7 +182,17 @@ def _configure( policy_family_definition_overrides: Optional[pulumi.Input[str]] = None, policy_family_id: Optional[pulumi.Input[str]] = None, policy_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxClustersPerUser' in kwargs: + max_clusters_per_user = kwargs['maxClustersPerUser'] + if 'policyFamilyDefinitionOverrides' in kwargs: + policy_family_definition_overrides = kwargs['policyFamilyDefinitionOverrides'] + if 'policyFamilyId' in kwargs: + policy_family_id = kwargs['policyFamilyId'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if definition is not None: _setter("definition", definition) if description is not None: diff --git a/sdk/python/pulumi_databricks/connection.py b/sdk/python/pulumi_databricks/connection.py index 409800fe..4c3e9781 100644 --- a/sdk/python/pulumi_databricks/connection.py +++ b/sdk/python/pulumi_databricks/connection.py @@ -53,7 +53,15 @@ def _configure( owner: Optional[pulumi.Input[str]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, read_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionType' in kwargs: + connection_type = kwargs['connectionType'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + _setter("connection_type", connection_type) _setter("options", options) if comment is not None: @@ -202,7 +210,15 @@ def _configure( owner: Optional[pulumi.Input[str]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, read_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionType' in kwargs: + connection_type = kwargs['connectionType'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + if comment is not None: _setter("comment", comment) if connection_type is not None: diff --git a/sdk/python/pulumi_databricks/dbfs_file.py b/sdk/python/pulumi_databricks/dbfs_file.py index 0f8d7cd8..fb287baa 100644 --- a/sdk/python/pulumi_databricks/dbfs_file.py +++ b/sdk/python/pulumi_databricks/dbfs_file.py @@ -37,7 +37,11 @@ def _configure( content_base64: Optional[pulumi.Input[str]] = None, md5: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contentBase64' in kwargs: + content_base64 = kwargs['contentBase64'] + _setter("path", path) if content_base64 is not None: _setter("content_base64", content_base64) @@ -123,7 +127,15 @@ def _configure( md5: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contentBase64' in kwargs: + content_base64 = kwargs['contentBase64'] + if 'dbfsPath' in kwargs: + dbfs_path = kwargs['dbfsPath'] + if 'fileSize' in kwargs: + file_size = kwargs['fileSize'] + if content_base64 is not None: _setter("content_base64", content_base64) if dbfs_path is not None: diff --git a/sdk/python/pulumi_databricks/directory.py b/sdk/python/pulumi_databricks/directory.py index 98c83f7e..d655ac12 100644 --- a/sdk/python/pulumi_databricks/directory.py +++ b/sdk/python/pulumi_databricks/directory.py @@ -34,7 +34,13 @@ def _configure( path: pulumi.Input[str], delete_recursive: Optional[pulumi.Input[bool]] = None, object_id: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteRecursive' in kwargs: + delete_recursive = kwargs['deleteRecursive'] + if 'objectId' in kwargs: + object_id = kwargs['objectId'] + _setter("path", path) if delete_recursive is not None: _setter("delete_recursive", delete_recursive) @@ -98,7 +104,13 @@ def _configure( delete_recursive: Optional[pulumi.Input[bool]] = None, object_id: Optional[pulumi.Input[int]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deleteRecursive' in kwargs: + delete_recursive = kwargs['deleteRecursive'] + if 'objectId' in kwargs: + object_id = kwargs['objectId'] + if delete_recursive is not None: _setter("delete_recursive", delete_recursive) if object_id is not None: diff --git a/sdk/python/pulumi_databricks/entitlements.py b/sdk/python/pulumi_databricks/entitlements.py index 67d5a299..ffe48983 100644 --- a/sdk/python/pulumi_databricks/entitlements.py +++ b/sdk/python/pulumi_databricks/entitlements.py @@ -53,7 +53,23 @@ def _configure( service_principal_id: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, workspace_access: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowClusterCreate' in kwargs: + allow_cluster_create = kwargs['allowClusterCreate'] + if 'allowInstancePoolCreate' in kwargs: + allow_instance_pool_create = kwargs['allowInstancePoolCreate'] + if 'databricksSqlAccess' in kwargs: + databricks_sql_access = kwargs['databricksSqlAccess'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'servicePrincipalId' in kwargs: + service_principal_id = kwargs['servicePrincipalId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'workspaceAccess' in kwargs: + workspace_access = kwargs['workspaceAccess'] + if allow_cluster_create is not None: _setter("allow_cluster_create", allow_cluster_create) if allow_instance_pool_create is not None: @@ -198,7 +214,23 @@ def _configure( service_principal_id: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, workspace_access: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowClusterCreate' in kwargs: + allow_cluster_create = kwargs['allowClusterCreate'] + if 'allowInstancePoolCreate' in kwargs: + allow_instance_pool_create = kwargs['allowInstancePoolCreate'] + if 'databricksSqlAccess' in kwargs: + databricks_sql_access = kwargs['databricksSqlAccess'] + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'servicePrincipalId' in kwargs: + service_principal_id = kwargs['servicePrincipalId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'workspaceAccess' in kwargs: + workspace_access = kwargs['workspaceAccess'] + if allow_cluster_create is not None: _setter("allow_cluster_create", allow_cluster_create) if allow_instance_pool_create is not None: diff --git a/sdk/python/pulumi_databricks/external_location.py b/sdk/python/pulumi_databricks/external_location.py index ad36ff25..7ab6885c 100644 --- a/sdk/python/pulumi_databricks/external_location.py +++ b/sdk/python/pulumi_databricks/external_location.py @@ -72,7 +72,25 @@ def _configure( owner: Optional[pulumi.Input[str]] = None, read_only: Optional[pulumi.Input[bool]] = None, skip_validation: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'credentialName' in kwargs: + credential_name = kwargs['credentialName'] + if 'accessPoint' in kwargs: + access_point = kwargs['accessPoint'] + if 'encryptionDetails' in kwargs: + encryption_details = kwargs['encryptionDetails'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'forceUpdate' in kwargs: + force_update = kwargs['forceUpdate'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + if 'skipValidation' in kwargs: + skip_validation = kwargs['skipValidation'] + _setter("credential_name", credential_name) _setter("url", url) if access_point is not None: @@ -297,7 +315,25 @@ def _configure( read_only: Optional[pulumi.Input[bool]] = None, skip_validation: Optional[pulumi.Input[bool]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPoint' in kwargs: + access_point = kwargs['accessPoint'] + if 'credentialName' in kwargs: + credential_name = kwargs['credentialName'] + if 'encryptionDetails' in kwargs: + encryption_details = kwargs['encryptionDetails'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'forceUpdate' in kwargs: + force_update = kwargs['forceUpdate'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + if 'skipValidation' in kwargs: + skip_validation = kwargs['skipValidation'] + if access_point is not None: _setter("access_point", access_point) if comment is not None: diff --git a/sdk/python/pulumi_databricks/git_credential.py b/sdk/python/pulumi_databricks/git_credential.py index cbd3c885..1efc2e61 100644 --- a/sdk/python/pulumi_databricks/git_credential.py +++ b/sdk/python/pulumi_databricks/git_credential.py @@ -39,7 +39,15 @@ def _configure( force: Optional[pulumi.Input[bool]] = None, git_username: Optional[pulumi.Input[str]] = None, personal_access_token: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gitProvider' in kwargs: + git_provider = kwargs['gitProvider'] + if 'gitUsername' in kwargs: + git_username = kwargs['gitUsername'] + if 'personalAccessToken' in kwargs: + personal_access_token = kwargs['personalAccessToken'] + _setter("git_provider", git_provider) if force is not None: _setter("force", force) @@ -125,7 +133,15 @@ def _configure( git_provider: Optional[pulumi.Input[str]] = None, git_username: Optional[pulumi.Input[str]] = None, personal_access_token: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gitProvider' in kwargs: + git_provider = kwargs['gitProvider'] + if 'gitUsername' in kwargs: + git_username = kwargs['gitUsername'] + if 'personalAccessToken' in kwargs: + personal_access_token = kwargs['personalAccessToken'] + if force is not None: _setter("force", force) if git_provider is not None: diff --git a/sdk/python/pulumi_databricks/global_init_script.py b/sdk/python/pulumi_databricks/global_init_script.py index 8f68151c..e6af4f7c 100644 --- a/sdk/python/pulumi_databricks/global_init_script.py +++ b/sdk/python/pulumi_databricks/global_init_script.py @@ -45,7 +45,11 @@ def _configure( name: Optional[pulumi.Input[str]] = None, position: Optional[pulumi.Input[int]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contentBase64' in kwargs: + content_base64 = kwargs['contentBase64'] + if content_base64 is not None: _setter("content_base64", content_base64) if enabled is not None: @@ -160,7 +164,11 @@ def _configure( name: Optional[pulumi.Input[str]] = None, position: Optional[pulumi.Input[int]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contentBase64' in kwargs: + content_base64 = kwargs['contentBase64'] + if content_base64 is not None: _setter("content_base64", content_base64) if enabled is not None: diff --git a/sdk/python/pulumi_databricks/grants.py b/sdk/python/pulumi_databricks/grants.py index 83f8ccfd..850c0d8c 100644 --- a/sdk/python/pulumi_databricks/grants.py +++ b/sdk/python/pulumi_databricks/grants.py @@ -23,6 +23,7 @@ def __init__(__self__, *, function: Optional[pulumi.Input[str]] = None, materialized_view: Optional[pulumi.Input[str]] = None, metastore: Optional[pulumi.Input[str]] = None, + model: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, share: Optional[pulumi.Input[str]] = None, storage_credential: Optional[pulumi.Input[str]] = None, @@ -41,6 +42,7 @@ def __init__(__self__, *, function=function, materialized_view=materialized_view, metastore=metastore, + model=model, schema=schema, share=share, storage_credential=storage_credential, @@ -58,13 +60,24 @@ def _configure( function: Optional[pulumi.Input[str]] = None, materialized_view: Optional[pulumi.Input[str]] = None, metastore: Optional[pulumi.Input[str]] = None, + model: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, share: Optional[pulumi.Input[str]] = None, storage_credential: Optional[pulumi.Input[str]] = None, table: Optional[pulumi.Input[str]] = None, view: Optional[pulumi.Input[str]] = None, volume: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'externalLocation' in kwargs: + external_location = kwargs['externalLocation'] + if 'foreignConnection' in kwargs: + foreign_connection = kwargs['foreignConnection'] + if 'materializedView' in kwargs: + materialized_view = kwargs['materializedView'] + if 'storageCredential' in kwargs: + storage_credential = kwargs['storageCredential'] + _setter("grants", grants) if catalog is not None: _setter("catalog", catalog) @@ -78,6 +91,8 @@ def _configure( _setter("materialized_view", materialized_view) if metastore is not None: _setter("metastore", metastore) + if model is not None: + _setter("model", model) if schema is not None: _setter("schema", schema) if share is not None: @@ -154,6 +169,15 @@ def metastore(self) -> Optional[pulumi.Input[str]]: def metastore(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metastore", value) + @property + @pulumi.getter + def model(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "model") + + @model.setter + def model(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "model", value) + @property @pulumi.getter def schema(self) -> Optional[pulumi.Input[str]]: @@ -219,6 +243,7 @@ def __init__(__self__, *, grants: Optional[pulumi.Input[Sequence[pulumi.Input['GrantsGrantArgs']]]] = None, materialized_view: Optional[pulumi.Input[str]] = None, metastore: Optional[pulumi.Input[str]] = None, + model: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, share: Optional[pulumi.Input[str]] = None, storage_credential: Optional[pulumi.Input[str]] = None, @@ -237,6 +262,7 @@ def __init__(__self__, *, grants=grants, materialized_view=materialized_view, metastore=metastore, + model=model, schema=schema, share=share, storage_credential=storage_credential, @@ -254,13 +280,24 @@ def _configure( grants: Optional[pulumi.Input[Sequence[pulumi.Input['GrantsGrantArgs']]]] = None, materialized_view: Optional[pulumi.Input[str]] = None, metastore: Optional[pulumi.Input[str]] = None, + model: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, share: Optional[pulumi.Input[str]] = None, storage_credential: Optional[pulumi.Input[str]] = None, table: Optional[pulumi.Input[str]] = None, view: Optional[pulumi.Input[str]] = None, volume: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'externalLocation' in kwargs: + external_location = kwargs['externalLocation'] + if 'foreignConnection' in kwargs: + foreign_connection = kwargs['foreignConnection'] + if 'materializedView' in kwargs: + materialized_view = kwargs['materializedView'] + if 'storageCredential' in kwargs: + storage_credential = kwargs['storageCredential'] + if catalog is not None: _setter("catalog", catalog) if external_location is not None: @@ -275,6 +312,8 @@ def _configure( _setter("materialized_view", materialized_view) if metastore is not None: _setter("metastore", metastore) + if model is not None: + _setter("model", model) if schema is not None: _setter("schema", schema) if share is not None: @@ -351,6 +390,15 @@ def metastore(self) -> Optional[pulumi.Input[str]]: def metastore(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metastore", value) + @property + @pulumi.getter + def model(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "model") + + @model.setter + def model(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "model", value) + @property @pulumi.getter def schema(self) -> Optional[pulumi.Input[str]]: @@ -418,6 +466,7 @@ def __init__(__self__, grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GrantsGrantArgs']]]]] = None, materialized_view: Optional[pulumi.Input[str]] = None, metastore: Optional[pulumi.Input[str]] = None, + model: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, share: Optional[pulumi.Input[str]] = None, storage_credential: Optional[pulumi.Input[str]] = None, @@ -464,6 +513,7 @@ def _internal_init(__self__, grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GrantsGrantArgs']]]]] = None, materialized_view: Optional[pulumi.Input[str]] = None, metastore: Optional[pulumi.Input[str]] = None, + model: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, share: Optional[pulumi.Input[str]] = None, storage_credential: Optional[pulumi.Input[str]] = None, @@ -488,6 +538,7 @@ def _internal_init(__self__, __props__.__dict__["grants"] = grants __props__.__dict__["materialized_view"] = materialized_view __props__.__dict__["metastore"] = metastore + __props__.__dict__["model"] = model __props__.__dict__["schema"] = schema __props__.__dict__["share"] = share __props__.__dict__["storage_credential"] = storage_credential @@ -511,6 +562,7 @@ def get(resource_name: str, grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GrantsGrantArgs']]]]] = None, materialized_view: Optional[pulumi.Input[str]] = None, metastore: Optional[pulumi.Input[str]] = None, + model: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[str]] = None, share: Optional[pulumi.Input[str]] = None, storage_credential: Optional[pulumi.Input[str]] = None, @@ -536,6 +588,7 @@ def get(resource_name: str, __props__.__dict__["grants"] = grants __props__.__dict__["materialized_view"] = materialized_view __props__.__dict__["metastore"] = metastore + __props__.__dict__["model"] = model __props__.__dict__["schema"] = schema __props__.__dict__["share"] = share __props__.__dict__["storage_credential"] = storage_credential @@ -579,6 +632,11 @@ def materialized_view(self) -> pulumi.Output[Optional[str]]: def metastore(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "metastore") + @property + @pulumi.getter + def model(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "model") + @property @pulumi.getter def schema(self) -> pulumi.Output[Optional[str]]: diff --git a/sdk/python/pulumi_databricks/group.py b/sdk/python/pulumi_databricks/group.py index c809e08d..feb728b9 100644 --- a/sdk/python/pulumi_databricks/group.py +++ b/sdk/python/pulumi_databricks/group.py @@ -57,7 +57,23 @@ def _configure( force: Optional[pulumi.Input[bool]] = None, url: Optional[pulumi.Input[str]] = None, workspace_access: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aclPrincipalId' in kwargs: + acl_principal_id = kwargs['aclPrincipalId'] + if 'allowClusterCreate' in kwargs: + allow_cluster_create = kwargs['allowClusterCreate'] + if 'allowInstancePoolCreate' in kwargs: + allow_instance_pool_create = kwargs['allowInstancePoolCreate'] + if 'databricksSqlAccess' in kwargs: + databricks_sql_access = kwargs['databricksSqlAccess'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'workspaceAccess' in kwargs: + workspace_access = kwargs['workspaceAccess'] + if acl_principal_id is not None: _setter("acl_principal_id", acl_principal_id) if allow_cluster_create is not None: @@ -226,7 +242,23 @@ def _configure( force: Optional[pulumi.Input[bool]] = None, url: Optional[pulumi.Input[str]] = None, workspace_access: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aclPrincipalId' in kwargs: + acl_principal_id = kwargs['aclPrincipalId'] + if 'allowClusterCreate' in kwargs: + allow_cluster_create = kwargs['allowClusterCreate'] + if 'allowInstancePoolCreate' in kwargs: + allow_instance_pool_create = kwargs['allowInstancePoolCreate'] + if 'databricksSqlAccess' in kwargs: + databricks_sql_access = kwargs['databricksSqlAccess'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'workspaceAccess' in kwargs: + workspace_access = kwargs['workspaceAccess'] + if acl_principal_id is not None: _setter("acl_principal_id", acl_principal_id) if allow_cluster_create is not None: diff --git a/sdk/python/pulumi_databricks/group_instance_profile.py b/sdk/python/pulumi_databricks/group_instance_profile.py index 0ee1c3de..d6233983 100644 --- a/sdk/python/pulumi_databricks/group_instance_profile.py +++ b/sdk/python/pulumi_databricks/group_instance_profile.py @@ -31,7 +31,13 @@ def _configure( _setter: Callable[[Any, Any], None], group_id: pulumi.Input[str], instance_profile_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'instanceProfileId' in kwargs: + instance_profile_id = kwargs['instanceProfileId'] + _setter("group_id", group_id) _setter("instance_profile_id", instance_profile_id) @@ -80,7 +86,13 @@ def _configure( _setter: Callable[[Any, Any], None], group_id: Optional[pulumi.Input[str]] = None, instance_profile_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'instanceProfileId' in kwargs: + instance_profile_id = kwargs['instanceProfileId'] + if group_id is not None: _setter("group_id", group_id) if instance_profile_id is not None: diff --git a/sdk/python/pulumi_databricks/group_member.py b/sdk/python/pulumi_databricks/group_member.py index 83eb4fec..1ea5faab 100644 --- a/sdk/python/pulumi_databricks/group_member.py +++ b/sdk/python/pulumi_databricks/group_member.py @@ -31,7 +31,13 @@ def _configure( _setter: Callable[[Any, Any], None], group_id: pulumi.Input[str], member_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'memberId' in kwargs: + member_id = kwargs['memberId'] + _setter("group_id", group_id) _setter("member_id", member_id) @@ -80,7 +86,13 @@ def _configure( _setter: Callable[[Any, Any], None], group_id: Optional[pulumi.Input[str]] = None, member_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if 'memberId' in kwargs: + member_id = kwargs['memberId'] + if group_id is not None: _setter("group_id", group_id) if member_id is not None: diff --git a/sdk/python/pulumi_databricks/group_role.py b/sdk/python/pulumi_databricks/group_role.py index f3b38df3..a4fa8e96 100644 --- a/sdk/python/pulumi_databricks/group_role.py +++ b/sdk/python/pulumi_databricks/group_role.py @@ -31,7 +31,11 @@ def _configure( _setter: Callable[[Any, Any], None], group_id: pulumi.Input[str], role: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + _setter("group_id", group_id) _setter("role", role) @@ -80,7 +84,11 @@ def _configure( _setter: Callable[[Any, Any], None], group_id: Optional[pulumi.Input[str]] = None, role: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'groupId' in kwargs: + group_id = kwargs['groupId'] + if group_id is not None: _setter("group_id", group_id) if role is not None: diff --git a/sdk/python/pulumi_databricks/instance_pool.py b/sdk/python/pulumi_databricks/instance_pool.py index 3d9e0092..3c5e386f 100644 --- a/sdk/python/pulumi_databricks/instance_pool.py +++ b/sdk/python/pulumi_databricks/instance_pool.py @@ -78,7 +78,39 @@ def _configure( node_type_id: Optional[pulumi.Input[str]] = None, preloaded_docker_images: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolPreloadedDockerImageArgs']]]] = None, preloaded_spark_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'idleInstanceAutoterminationMinutes' in kwargs: + idle_instance_autotermination_minutes = kwargs['idleInstanceAutoterminationMinutes'] + if 'instancePoolName' in kwargs: + instance_pool_name = kwargs['instancePoolName'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'diskSpec' in kwargs: + disk_spec = kwargs['diskSpec'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'instancePoolFleetAttributes' in kwargs: + instance_pool_fleet_attributes = kwargs['instancePoolFleetAttributes'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'maxCapacity' in kwargs: + max_capacity = kwargs['maxCapacity'] + if 'minIdleInstances' in kwargs: + min_idle_instances = kwargs['minIdleInstances'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'preloadedDockerImages' in kwargs: + preloaded_docker_images = kwargs['preloadedDockerImages'] + if 'preloadedSparkVersions' in kwargs: + preloaded_spark_versions = kwargs['preloadedSparkVersions'] + _setter("idle_instance_autotermination_minutes", idle_instance_autotermination_minutes) _setter("instance_pool_name", instance_pool_name) if aws_attributes is not None: @@ -333,7 +365,39 @@ def _configure( node_type_id: Optional[pulumi.Input[str]] = None, preloaded_docker_images: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolPreloadedDockerImageArgs']]]] = None, preloaded_spark_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'diskSpec' in kwargs: + disk_spec = kwargs['diskSpec'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idleInstanceAutoterminationMinutes' in kwargs: + idle_instance_autotermination_minutes = kwargs['idleInstanceAutoterminationMinutes'] + if 'instancePoolFleetAttributes' in kwargs: + instance_pool_fleet_attributes = kwargs['instancePoolFleetAttributes'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'instancePoolName' in kwargs: + instance_pool_name = kwargs['instancePoolName'] + if 'maxCapacity' in kwargs: + max_capacity = kwargs['maxCapacity'] + if 'minIdleInstances' in kwargs: + min_idle_instances = kwargs['minIdleInstances'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'preloadedDockerImages' in kwargs: + preloaded_docker_images = kwargs['preloadedDockerImages'] + if 'preloadedSparkVersions' in kwargs: + preloaded_spark_versions = kwargs['preloadedSparkVersions'] + if aws_attributes is not None: _setter("aws_attributes", aws_attributes) if azure_attributes is not None: diff --git a/sdk/python/pulumi_databricks/instance_profile.py b/sdk/python/pulumi_databricks/instance_profile.py index 0ac12ad2..e6ca9755 100644 --- a/sdk/python/pulumi_databricks/instance_profile.py +++ b/sdk/python/pulumi_databricks/instance_profile.py @@ -39,7 +39,17 @@ def _configure( iam_role_arn: Optional[pulumi.Input[str]] = None, is_meta_instance_profile: Optional[pulumi.Input[bool]] = None, skip_validation: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'iamRoleArn' in kwargs: + iam_role_arn = kwargs['iamRoleArn'] + if 'isMetaInstanceProfile' in kwargs: + is_meta_instance_profile = kwargs['isMetaInstanceProfile'] + if 'skipValidation' in kwargs: + skip_validation = kwargs['skipValidation'] + _setter("instance_profile_arn", instance_profile_arn) if iam_role_arn is not None: _setter("iam_role_arn", iam_role_arn) @@ -125,7 +135,17 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, is_meta_instance_profile: Optional[pulumi.Input[bool]] = None, skip_validation: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'iamRoleArn' in kwargs: + iam_role_arn = kwargs['iamRoleArn'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'isMetaInstanceProfile' in kwargs: + is_meta_instance_profile = kwargs['isMetaInstanceProfile'] + if 'skipValidation' in kwargs: + skip_validation = kwargs['skipValidation'] + if iam_role_arn is not None: _setter("iam_role_arn", iam_role_arn) if instance_profile_arn is not None: diff --git a/sdk/python/pulumi_databricks/ip_access_list.py b/sdk/python/pulumi_databricks/ip_access_list.py index 602dbb10..3d39eee9 100644 --- a/sdk/python/pulumi_databricks/ip_access_list.py +++ b/sdk/python/pulumi_databricks/ip_access_list.py @@ -39,7 +39,13 @@ def _configure( label: pulumi.Input[str], list_type: pulumi.Input[str], enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipAddresses' in kwargs: + ip_addresses = kwargs['ipAddresses'] + if 'listType' in kwargs: + list_type = kwargs['listType'] + _setter("ip_addresses", ip_addresses) _setter("label", label) _setter("list_type", list_type) @@ -123,7 +129,13 @@ def _configure( ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, label: Optional[pulumi.Input[str]] = None, list_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipAddresses' in kwargs: + ip_addresses = kwargs['ipAddresses'] + if 'listType' in kwargs: + list_type = kwargs['listType'] + if enabled is not None: _setter("enabled", enabled) if ip_addresses is not None: diff --git a/sdk/python/pulumi_databricks/job.py b/sdk/python/pulumi_databricks/job.py index a49c9ed7..acc3a072 100644 --- a/sdk/python/pulumi_databricks/job.py +++ b/sdk/python/pulumi_databricks/job.py @@ -151,7 +151,55 @@ def _configure( timeout_seconds: Optional[pulumi.Input[int]] = None, trigger: Optional[pulumi.Input['JobTriggerArgs']] = None, webhook_notifications: Optional[pulumi.Input['JobWebhookNotificationsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alwaysRunning' in kwargs: + always_running = kwargs['alwaysRunning'] + if 'controlRunState' in kwargs: + control_run_state = kwargs['controlRunState'] + if 'dbtTask' in kwargs: + dbt_task = kwargs['dbtTask'] + if 'emailNotifications' in kwargs: + email_notifications = kwargs['emailNotifications'] + if 'existingClusterId' in kwargs: + existing_cluster_id = kwargs['existingClusterId'] + if 'gitSource' in kwargs: + git_source = kwargs['gitSource'] + if 'jobClusters' in kwargs: + job_clusters = kwargs['jobClusters'] + if 'maxConcurrentRuns' in kwargs: + max_concurrent_runs = kwargs['maxConcurrentRuns'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'minRetryIntervalMillis' in kwargs: + min_retry_interval_millis = kwargs['minRetryIntervalMillis'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if 'notebookTask' in kwargs: + notebook_task = kwargs['notebookTask'] + if 'notificationSettings' in kwargs: + notification_settings = kwargs['notificationSettings'] + if 'pipelineTask' in kwargs: + pipeline_task = kwargs['pipelineTask'] + if 'pythonWheelTask' in kwargs: + python_wheel_task = kwargs['pythonWheelTask'] + if 'retryOnTimeout' in kwargs: + retry_on_timeout = kwargs['retryOnTimeout'] + if 'runAs' in kwargs: + run_as = kwargs['runAs'] + if 'runJobTask' in kwargs: + run_job_task = kwargs['runJobTask'] + if 'sparkJarTask' in kwargs: + spark_jar_task = kwargs['sparkJarTask'] + if 'sparkPythonTask' in kwargs: + spark_python_task = kwargs['sparkPythonTask'] + if 'sparkSubmitTask' in kwargs: + spark_submit_task = kwargs['sparkSubmitTask'] + if 'timeoutSeconds' in kwargs: + timeout_seconds = kwargs['timeoutSeconds'] + if 'webhookNotifications' in kwargs: + webhook_notifications = kwargs['webhookNotifications'] + if always_running is not None: warnings.warn("""always_running will be replaced by control_run_state in the next major release.""", DeprecationWarning) pulumi.log.warn("""always_running is deprecated: always_running will be replaced by control_run_state in the next major release.""") @@ -740,7 +788,55 @@ def _configure( trigger: Optional[pulumi.Input['JobTriggerArgs']] = None, url: Optional[pulumi.Input[str]] = None, webhook_notifications: Optional[pulumi.Input['JobWebhookNotificationsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alwaysRunning' in kwargs: + always_running = kwargs['alwaysRunning'] + if 'controlRunState' in kwargs: + control_run_state = kwargs['controlRunState'] + if 'dbtTask' in kwargs: + dbt_task = kwargs['dbtTask'] + if 'emailNotifications' in kwargs: + email_notifications = kwargs['emailNotifications'] + if 'existingClusterId' in kwargs: + existing_cluster_id = kwargs['existingClusterId'] + if 'gitSource' in kwargs: + git_source = kwargs['gitSource'] + if 'jobClusters' in kwargs: + job_clusters = kwargs['jobClusters'] + if 'maxConcurrentRuns' in kwargs: + max_concurrent_runs = kwargs['maxConcurrentRuns'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'minRetryIntervalMillis' in kwargs: + min_retry_interval_millis = kwargs['minRetryIntervalMillis'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if 'notebookTask' in kwargs: + notebook_task = kwargs['notebookTask'] + if 'notificationSettings' in kwargs: + notification_settings = kwargs['notificationSettings'] + if 'pipelineTask' in kwargs: + pipeline_task = kwargs['pipelineTask'] + if 'pythonWheelTask' in kwargs: + python_wheel_task = kwargs['pythonWheelTask'] + if 'retryOnTimeout' in kwargs: + retry_on_timeout = kwargs['retryOnTimeout'] + if 'runAs' in kwargs: + run_as = kwargs['runAs'] + if 'runJobTask' in kwargs: + run_job_task = kwargs['runJobTask'] + if 'sparkJarTask' in kwargs: + spark_jar_task = kwargs['sparkJarTask'] + if 'sparkPythonTask' in kwargs: + spark_python_task = kwargs['sparkPythonTask'] + if 'sparkSubmitTask' in kwargs: + spark_submit_task = kwargs['sparkSubmitTask'] + if 'timeoutSeconds' in kwargs: + timeout_seconds = kwargs['timeoutSeconds'] + if 'webhookNotifications' in kwargs: + webhook_notifications = kwargs['webhookNotifications'] + if always_running is not None: warnings.warn("""always_running will be replaced by control_run_state in the next major release.""", DeprecationWarning) pulumi.log.warn("""always_running is deprecated: always_running will be replaced by control_run_state in the next major release.""") diff --git a/sdk/python/pulumi_databricks/library.py b/sdk/python/pulumi_databricks/library.py index 5a3b0f72..76621914 100644 --- a/sdk/python/pulumi_databricks/library.py +++ b/sdk/python/pulumi_databricks/library.py @@ -46,7 +46,11 @@ def _configure( maven: Optional[pulumi.Input['LibraryMavenArgs']] = None, pypi: Optional[pulumi.Input['LibraryPypiArgs']] = None, whl: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + _setter("cluster_id", cluster_id) if cran is not None: _setter("cran", cran) @@ -158,7 +162,11 @@ def _configure( maven: Optional[pulumi.Input['LibraryMavenArgs']] = None, pypi: Optional[pulumi.Input['LibraryPypiArgs']] = None, whl: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if cluster_id is not None: _setter("cluster_id", cluster_id) if cran is not None: diff --git a/sdk/python/pulumi_databricks/metastore.py b/sdk/python/pulumi_databricks/metastore.py index 6831234b..fe652676 100644 --- a/sdk/python/pulumi_databricks/metastore.py +++ b/sdk/python/pulumi_databricks/metastore.py @@ -82,7 +82,35 @@ def _configure( storage_root_credential_id: Optional[pulumi.Input[str]] = None, updated_at: Optional[pulumi.Input[int]] = None, updated_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'storageRoot' in kwargs: + storage_root = kwargs['storageRoot'] + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'defaultDataAccessConfigId' in kwargs: + default_data_access_config_id = kwargs['defaultDataAccessConfigId'] + if 'deltaSharingOrganizationName' in kwargs: + delta_sharing_organization_name = kwargs['deltaSharingOrganizationName'] + if 'deltaSharingRecipientTokenLifetimeInSeconds' in kwargs: + delta_sharing_recipient_token_lifetime_in_seconds = kwargs['deltaSharingRecipientTokenLifetimeInSeconds'] + if 'deltaSharingScope' in kwargs: + delta_sharing_scope = kwargs['deltaSharingScope'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'globalMetastoreId' in kwargs: + global_metastore_id = kwargs['globalMetastoreId'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'storageRootCredentialId' in kwargs: + storage_root_credential_id = kwargs['storageRootCredentialId'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + _setter("storage_root", storage_root) if cloud is not None: _setter("cloud", cloud) @@ -366,7 +394,35 @@ def _configure( storage_root_credential_id: Optional[pulumi.Input[str]] = None, updated_at: Optional[pulumi.Input[int]] = None, updated_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'defaultDataAccessConfigId' in kwargs: + default_data_access_config_id = kwargs['defaultDataAccessConfigId'] + if 'deltaSharingOrganizationName' in kwargs: + delta_sharing_organization_name = kwargs['deltaSharingOrganizationName'] + if 'deltaSharingRecipientTokenLifetimeInSeconds' in kwargs: + delta_sharing_recipient_token_lifetime_in_seconds = kwargs['deltaSharingRecipientTokenLifetimeInSeconds'] + if 'deltaSharingScope' in kwargs: + delta_sharing_scope = kwargs['deltaSharingScope'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'globalMetastoreId' in kwargs: + global_metastore_id = kwargs['globalMetastoreId'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'storageRoot' in kwargs: + storage_root = kwargs['storageRoot'] + if 'storageRootCredentialId' in kwargs: + storage_root_credential_id = kwargs['storageRootCredentialId'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if cloud is not None: _setter("cloud", cloud) if created_at is not None: diff --git a/sdk/python/pulumi_databricks/metastore_assignment.py b/sdk/python/pulumi_databricks/metastore_assignment.py index 602b2188..e2bc2de8 100644 --- a/sdk/python/pulumi_databricks/metastore_assignment.py +++ b/sdk/python/pulumi_databricks/metastore_assignment.py @@ -35,7 +35,15 @@ def _configure( metastore_id: pulumi.Input[str], workspace_id: pulumi.Input[int], default_catalog_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + if 'defaultCatalogName' in kwargs: + default_catalog_name = kwargs['defaultCatalogName'] + _setter("metastore_id", metastore_id) _setter("workspace_id", workspace_id) if default_catalog_name is not None: @@ -102,7 +110,15 @@ def _configure( default_catalog_name: Optional[pulumi.Input[str]] = None, metastore_id: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultCatalogName' in kwargs: + default_catalog_name = kwargs['defaultCatalogName'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + if default_catalog_name is not None: _setter("default_catalog_name", default_catalog_name) if metastore_id is not None: diff --git a/sdk/python/pulumi_databricks/metastore_data_access.py b/sdk/python/pulumi_databricks/metastore_data_access.py index 9996a063..ca910a56 100644 --- a/sdk/python/pulumi_databricks/metastore_data_access.py +++ b/sdk/python/pulumi_databricks/metastore_data_access.py @@ -67,7 +67,27 @@ def _configure( name: Optional[pulumi.Input[str]] = None, owner: Optional[pulumi.Input[str]] = None, read_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'awsIamRole' in kwargs: + aws_iam_role = kwargs['awsIamRole'] + if 'azureManagedIdentity' in kwargs: + azure_managed_identity = kwargs['azureManagedIdentity'] + if 'azureServicePrincipal' in kwargs: + azure_service_principal = kwargs['azureServicePrincipal'] + if 'databricksGcpServiceAccount' in kwargs: + databricks_gcp_service_account = kwargs['databricksGcpServiceAccount'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'gcpServiceAccountKey' in kwargs: + gcp_service_account_key = kwargs['gcpServiceAccountKey'] + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + _setter("metastore_id", metastore_id) if aws_iam_role is not None: _setter("aws_iam_role", aws_iam_role) @@ -269,7 +289,27 @@ def _configure( name: Optional[pulumi.Input[str]] = None, owner: Optional[pulumi.Input[str]] = None, read_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsIamRole' in kwargs: + aws_iam_role = kwargs['awsIamRole'] + if 'azureManagedIdentity' in kwargs: + azure_managed_identity = kwargs['azureManagedIdentity'] + if 'azureServicePrincipal' in kwargs: + azure_service_principal = kwargs['azureServicePrincipal'] + if 'databricksGcpServiceAccount' in kwargs: + databricks_gcp_service_account = kwargs['databricksGcpServiceAccount'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'gcpServiceAccountKey' in kwargs: + gcp_service_account_key = kwargs['gcpServiceAccountKey'] + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + if aws_iam_role is not None: _setter("aws_iam_role", aws_iam_role) if azure_managed_identity is not None: diff --git a/sdk/python/pulumi_databricks/metastore_provider.py b/sdk/python/pulumi_databricks/metastore_provider.py index 1cf31a3d..57515640 100644 --- a/sdk/python/pulumi_databricks/metastore_provider.py +++ b/sdk/python/pulumi_databricks/metastore_provider.py @@ -39,7 +39,13 @@ def _configure( recipient_profile_str: pulumi.Input[str], comment: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationType' in kwargs: + authentication_type = kwargs['authenticationType'] + if 'recipientProfileStr' in kwargs: + recipient_profile_str = kwargs['recipientProfileStr'] + _setter("authentication_type", authentication_type) _setter("recipient_profile_str", recipient_profile_str) if comment is not None: @@ -124,7 +130,13 @@ def _configure( comment: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, recipient_profile_str: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationType' in kwargs: + authentication_type = kwargs['authenticationType'] + if 'recipientProfileStr' in kwargs: + recipient_profile_str = kwargs['recipientProfileStr'] + if authentication_type is not None: _setter("authentication_type", authentication_type) if comment is not None: diff --git a/sdk/python/pulumi_databricks/mlflow_experiment.py b/sdk/python/pulumi_databricks/mlflow_experiment.py index 7855e949..b534facb 100644 --- a/sdk/python/pulumi_databricks/mlflow_experiment.py +++ b/sdk/python/pulumi_databricks/mlflow_experiment.py @@ -47,7 +47,19 @@ def _configure( last_update_time: Optional[pulumi.Input[int]] = None, lifecycle_stage: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'artifactLocation' in kwargs: + artifact_location = kwargs['artifactLocation'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'experimentId' in kwargs: + experiment_id = kwargs['experimentId'] + if 'lastUpdateTime' in kwargs: + last_update_time = kwargs['lastUpdateTime'] + if 'lifecycleStage' in kwargs: + lifecycle_stage = kwargs['lifecycleStage'] + if artifact_location is not None: _setter("artifact_location", artifact_location) if creation_time is not None: @@ -172,7 +184,19 @@ def _configure( last_update_time: Optional[pulumi.Input[int]] = None, lifecycle_stage: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'artifactLocation' in kwargs: + artifact_location = kwargs['artifactLocation'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'experimentId' in kwargs: + experiment_id = kwargs['experimentId'] + if 'lastUpdateTime' in kwargs: + last_update_time = kwargs['lastUpdateTime'] + if 'lifecycleStage' in kwargs: + lifecycle_stage = kwargs['lifecycleStage'] + if artifact_location is not None: _setter("artifact_location", artifact_location) if creation_time is not None: @@ -296,9 +320,10 @@ def __init__(__self__, The following resources are often used in the same context: + * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * End to end workspace management guide. * Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + * MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. * Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * Notebook data to export a notebook from Databricks Workspace. * Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). @@ -345,9 +370,10 @@ def __init__(__self__, The following resources are often used in the same context: + * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * End to end workspace management guide. * Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html). - * MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + * MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. * Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * Notebook data to export a notebook from Databricks Workspace. * Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/python/pulumi_databricks/mlflow_model.py b/sdk/python/pulumi_databricks/mlflow_model.py index 3cfafcb5..c150a39e 100644 --- a/sdk/python/pulumi_databricks/mlflow_model.py +++ b/sdk/python/pulumi_databricks/mlflow_model.py @@ -46,7 +46,15 @@ def _configure( name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['MlflowModelTagArgs']]]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'creationTimestamp' in kwargs: + creation_timestamp = kwargs['creationTimestamp'] + if 'lastUpdatedTimestamp' in kwargs: + last_updated_timestamp = kwargs['lastUpdatedTimestamp'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if creation_timestamp is not None: _setter("creation_timestamp", creation_timestamp) if description is not None: @@ -160,7 +168,17 @@ def _configure( registered_model_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['MlflowModelTagArgs']]]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'creationTimestamp' in kwargs: + creation_timestamp = kwargs['creationTimestamp'] + if 'lastUpdatedTimestamp' in kwargs: + last_updated_timestamp = kwargs['lastUpdatedTimestamp'] + if 'registeredModelId' in kwargs: + registered_model_id = kwargs['registeredModelId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if creation_timestamp is not None: _setter("creation_timestamp", creation_timestamp) if description is not None: @@ -264,6 +282,8 @@ def __init__(__self__, """ This resource allows you to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + **Note** This documentation covers the Workspace Model Registry. Databricks recommends using Models in Unity Catalog. Models in Unity Catalog provides centralized model governance, cross-workspace access, lineage, and deployment. + ## Example Usage ```python @@ -291,6 +311,7 @@ def __init__(__self__, The following resources are often used in the same context: + * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * End to end workspace management guide. * ModelServing to serve this model on a Databricks serving endpoint. * Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). @@ -322,6 +343,8 @@ def __init__(__self__, """ This resource allows you to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + **Note** This documentation covers the Workspace Model Registry. Databricks recommends using Models in Unity Catalog. Models in Unity Catalog provides centralized model governance, cross-workspace access, lineage, and deployment. + ## Example Usage ```python @@ -349,6 +372,7 @@ def __init__(__self__, The following resources are often used in the same context: + * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * End to end workspace management guide. * ModelServing to serve this model on a Databricks serving endpoint. * Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). diff --git a/sdk/python/pulumi_databricks/mlflow_webhook.py b/sdk/python/pulumi_databricks/mlflow_webhook.py index 68699f96..369052d2 100644 --- a/sdk/python/pulumi_databricks/mlflow_webhook.py +++ b/sdk/python/pulumi_databricks/mlflow_webhook.py @@ -49,7 +49,15 @@ def _configure( job_spec: Optional[pulumi.Input['MlflowWebhookJobSpecArgs']] = None, model_name: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'httpUrlSpec' in kwargs: + http_url_spec = kwargs['httpUrlSpec'] + if 'jobSpec' in kwargs: + job_spec = kwargs['jobSpec'] + if 'modelName' in kwargs: + model_name = kwargs['modelName'] + _setter("events", events) if description is not None: _setter("description", description) @@ -167,7 +175,15 @@ def _configure( job_spec: Optional[pulumi.Input['MlflowWebhookJobSpecArgs']] = None, model_name: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'httpUrlSpec' in kwargs: + http_url_spec = kwargs['httpUrlSpec'] + if 'jobSpec' in kwargs: + job_spec = kwargs['jobSpec'] + if 'modelName' in kwargs: + model_name = kwargs['modelName'] + if description is not None: _setter("description", description) if events is not None: diff --git a/sdk/python/pulumi_databricks/model_serving.py b/sdk/python/pulumi_databricks/model_serving.py index c8b01632..25d89245 100644 --- a/sdk/python/pulumi_databricks/model_serving.py +++ b/sdk/python/pulumi_databricks/model_serving.py @@ -36,7 +36,9 @@ def _configure( config: pulumi.Input['ModelServingConfigArgs'], name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("config", config) if name is not None: _setter("name", name) @@ -104,7 +106,11 @@ def _configure( name: Optional[pulumi.Input[str]] = None, serving_endpoint_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servingEndpointId' in kwargs: + serving_endpoint_id = kwargs['servingEndpointId'] + if config is not None: _setter("config", config) if name is not None: @@ -217,9 +223,10 @@ def __init__(__self__, The following resources are often used in the same context: + * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * End to end workspace management guide. * Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). - * MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + * MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. * Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * Notebook data to export a notebook from Databricks Workspace. * Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). @@ -291,9 +298,10 @@ def __init__(__self__, The following resources are often used in the same context: + * RegisteredModel to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. * End to end workspace management guide. * Directory to manage directories in [Databricks Workspace](https://docs.databricks.com/workspace/workspace-objects.html). - * MlflowModel to create [MLflow models](https://docs.databricks.com/applications/mlflow/models.html) in Databricks. + * MlflowModel to create models in the [workspace model registry](https://docs.databricks.com/en/mlflow/model-registry.html) in Databricks. * Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * Notebook data to export a notebook from Databricks Workspace. * Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). diff --git a/sdk/python/pulumi_databricks/mount.py b/sdk/python/pulumi_databricks/mount.py index 0c3a51bb..03817ba2 100644 --- a/sdk/python/pulumi_databricks/mount.py +++ b/sdk/python/pulumi_databricks/mount.py @@ -58,7 +58,17 @@ def _configure( s3: Optional[pulumi.Input['MountS3Args']] = None, uri: Optional[pulumi.Input[str]] = None, wasb: Optional[pulumi.Input['MountWasbArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'extraConfigs' in kwargs: + extra_configs = kwargs['extraConfigs'] + if 'resourceId' in kwargs: + resource_id = kwargs['resourceId'] + if abfs is not None: _setter("abfs", abfs) if adl is not None: @@ -231,7 +241,17 @@ def _configure( source: Optional[pulumi.Input[str]] = None, uri: Optional[pulumi.Input[str]] = None, wasb: Optional[pulumi.Input['MountWasbArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'extraConfigs' in kwargs: + extra_configs = kwargs['extraConfigs'] + if 'resourceId' in kwargs: + resource_id = kwargs['resourceId'] + if abfs is not None: _setter("abfs", abfs) if adl is not None: diff --git a/sdk/python/pulumi_databricks/mws_credentials.py b/sdk/python/pulumi_databricks/mws_credentials.py index f9a941a7..3d105e2f 100644 --- a/sdk/python/pulumi_databricks/mws_credentials.py +++ b/sdk/python/pulumi_databricks/mws_credentials.py @@ -35,7 +35,15 @@ def _configure( account_id: pulumi.Input[str], credentials_name: pulumi.Input[str], role_arn: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'credentialsName' in kwargs: + credentials_name = kwargs['credentialsName'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + _setter("account_id", account_id) _setter("credentials_name", credentials_name) _setter("role_arn", role_arn) @@ -112,7 +120,21 @@ def _configure( credentials_name: Optional[pulumi.Input[str]] = None, external_id: Optional[pulumi.Input[str]] = None, role_arn: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'credentialsId' in kwargs: + credentials_id = kwargs['credentialsId'] + if 'credentialsName' in kwargs: + credentials_name = kwargs['credentialsName'] + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + if account_id is not None: _setter("account_id", account_id) if creation_time is not None: diff --git a/sdk/python/pulumi_databricks/mws_customer_managed_keys.py b/sdk/python/pulumi_databricks/mws_customer_managed_keys.py index ea46aa68..539de209 100644 --- a/sdk/python/pulumi_databricks/mws_customer_managed_keys.py +++ b/sdk/python/pulumi_databricks/mws_customer_managed_keys.py @@ -49,7 +49,21 @@ def _configure( creation_time: Optional[pulumi.Input[int]] = None, customer_managed_key_id: Optional[pulumi.Input[str]] = None, gcp_key_info: Optional[pulumi.Input['MwsCustomerManagedKeysGcpKeyInfoArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'useCases' in kwargs: + use_cases = kwargs['useCases'] + if 'awsKeyInfo' in kwargs: + aws_key_info = kwargs['awsKeyInfo'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'customerManagedKeyId' in kwargs: + customer_managed_key_id = kwargs['customerManagedKeyId'] + if 'gcpKeyInfo' in kwargs: + gcp_key_info = kwargs['gcpKeyInfo'] + _setter("account_id", account_id) _setter("use_cases", use_cases) if aws_key_info is not None: @@ -170,7 +184,21 @@ def _configure( customer_managed_key_id: Optional[pulumi.Input[str]] = None, gcp_key_info: Optional[pulumi.Input['MwsCustomerManagedKeysGcpKeyInfoArgs']] = None, use_cases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'awsKeyInfo' in kwargs: + aws_key_info = kwargs['awsKeyInfo'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'customerManagedKeyId' in kwargs: + customer_managed_key_id = kwargs['customerManagedKeyId'] + if 'gcpKeyInfo' in kwargs: + gcp_key_info = kwargs['gcpKeyInfo'] + if 'useCases' in kwargs: + use_cases = kwargs['useCases'] + if account_id is not None: _setter("account_id", account_id) if aws_key_info is not None: diff --git a/sdk/python/pulumi_databricks/mws_log_delivery.py b/sdk/python/pulumi_databricks/mws_log_delivery.py index 8bbc1764..91376d96 100644 --- a/sdk/python/pulumi_databricks/mws_log_delivery.py +++ b/sdk/python/pulumi_databricks/mws_log_delivery.py @@ -67,7 +67,29 @@ def _configure( delivery_start_time: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'credentialsId' in kwargs: + credentials_id = kwargs['credentialsId'] + if 'logType' in kwargs: + log_type = kwargs['logType'] + if 'outputFormat' in kwargs: + output_format = kwargs['outputFormat'] + if 'storageConfigurationId' in kwargs: + storage_configuration_id = kwargs['storageConfigurationId'] + if 'configId' in kwargs: + config_id = kwargs['configId'] + if 'configName' in kwargs: + config_name = kwargs['configName'] + if 'deliveryPathPrefix' in kwargs: + delivery_path_prefix = kwargs['deliveryPathPrefix'] + if 'deliveryStartTime' in kwargs: + delivery_start_time = kwargs['deliveryStartTime'] + if 'workspaceIdsFilters' in kwargs: + workspace_ids_filters = kwargs['workspaceIdsFilters'] + _setter("account_id", account_id) _setter("credentials_id", credentials_id) _setter("log_type", log_type) @@ -275,7 +297,29 @@ def _configure( status: Optional[pulumi.Input[str]] = None, storage_configuration_id: Optional[pulumi.Input[str]] = None, workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'configId' in kwargs: + config_id = kwargs['configId'] + if 'configName' in kwargs: + config_name = kwargs['configName'] + if 'credentialsId' in kwargs: + credentials_id = kwargs['credentialsId'] + if 'deliveryPathPrefix' in kwargs: + delivery_path_prefix = kwargs['deliveryPathPrefix'] + if 'deliveryStartTime' in kwargs: + delivery_start_time = kwargs['deliveryStartTime'] + if 'logType' in kwargs: + log_type = kwargs['logType'] + if 'outputFormat' in kwargs: + output_format = kwargs['outputFormat'] + if 'storageConfigurationId' in kwargs: + storage_configuration_id = kwargs['storageConfigurationId'] + if 'workspaceIdsFilters' in kwargs: + workspace_ids_filters = kwargs['workspaceIdsFilters'] + if account_id is not None: _setter("account_id", account_id) if config_id is not None: diff --git a/sdk/python/pulumi_databricks/mws_networks.py b/sdk/python/pulumi_databricks/mws_networks.py index 8e150aee..f2433bed 100644 --- a/sdk/python/pulumi_databricks/mws_networks.py +++ b/sdk/python/pulumi_databricks/mws_networks.py @@ -71,7 +71,33 @@ def _configure( vpc_id: Optional[pulumi.Input[str]] = None, vpc_status: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'networkName' in kwargs: + network_name = kwargs['networkName'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'errorMessages' in kwargs: + error_messages = kwargs['errorMessages'] + if 'gcpNetworkInfo' in kwargs: + gcp_network_info = kwargs['gcpNetworkInfo'] + if 'networkId' in kwargs: + network_id = kwargs['networkId'] + if 'securityGroupIds' in kwargs: + security_group_ids = kwargs['securityGroupIds'] + if 'subnetIds' in kwargs: + subnet_ids = kwargs['subnetIds'] + if 'vpcEndpoints' in kwargs: + vpc_endpoints = kwargs['vpcEndpoints'] + if 'vpcId' in kwargs: + vpc_id = kwargs['vpcId'] + if 'vpcStatus' in kwargs: + vpc_status = kwargs['vpcStatus'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + _setter("account_id", account_id) _setter("network_name", network_name) if creation_time is not None: @@ -292,7 +318,33 @@ def _configure( vpc_id: Optional[pulumi.Input[str]] = None, vpc_status: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'errorMessages' in kwargs: + error_messages = kwargs['errorMessages'] + if 'gcpNetworkInfo' in kwargs: + gcp_network_info = kwargs['gcpNetworkInfo'] + if 'networkId' in kwargs: + network_id = kwargs['networkId'] + if 'networkName' in kwargs: + network_name = kwargs['networkName'] + if 'securityGroupIds' in kwargs: + security_group_ids = kwargs['securityGroupIds'] + if 'subnetIds' in kwargs: + subnet_ids = kwargs['subnetIds'] + if 'vpcEndpoints' in kwargs: + vpc_endpoints = kwargs['vpcEndpoints'] + if 'vpcId' in kwargs: + vpc_id = kwargs['vpcId'] + if 'vpcStatus' in kwargs: + vpc_status = kwargs['vpcStatus'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + if account_id is not None: _setter("account_id", account_id) if creation_time is not None: diff --git a/sdk/python/pulumi_databricks/mws_permission_assignment.py b/sdk/python/pulumi_databricks/mws_permission_assignment.py index cfcbfefa..bb312a99 100644 --- a/sdk/python/pulumi_databricks/mws_permission_assignment.py +++ b/sdk/python/pulumi_databricks/mws_permission_assignment.py @@ -37,7 +37,13 @@ def _configure( permissions: pulumi.Input[Sequence[pulumi.Input[str]]], principal_id: pulumi.Input[int], workspace_id: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'principalId' in kwargs: + principal_id = kwargs['principalId'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + _setter("permissions", permissions) _setter("principal_id", principal_id) _setter("workspace_id", workspace_id) @@ -107,7 +113,13 @@ def _configure( permissions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, principal_id: Optional[pulumi.Input[int]] = None, workspace_id: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'principalId' in kwargs: + principal_id = kwargs['principalId'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + if permissions is not None: _setter("permissions", permissions) if principal_id is not None: diff --git a/sdk/python/pulumi_databricks/mws_private_access_settings.py b/sdk/python/pulumi_databricks/mws_private_access_settings.py index 8c55d088..23c2a496 100644 --- a/sdk/python/pulumi_databricks/mws_private_access_settings.py +++ b/sdk/python/pulumi_databricks/mws_private_access_settings.py @@ -55,7 +55,21 @@ def _configure( private_access_settings_id: Optional[pulumi.Input[str]] = None, public_access_enabled: Optional[pulumi.Input[bool]] = None, status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'privateAccessSettingsName' in kwargs: + private_access_settings_name = kwargs['privateAccessSettingsName'] + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'allowedVpcEndpointIds' in kwargs: + allowed_vpc_endpoint_ids = kwargs['allowedVpcEndpointIds'] + if 'privateAccessLevel' in kwargs: + private_access_level = kwargs['privateAccessLevel'] + if 'privateAccessSettingsId' in kwargs: + private_access_settings_id = kwargs['privateAccessSettingsId'] + if 'publicAccessEnabled' in kwargs: + public_access_enabled = kwargs['publicAccessEnabled'] + _setter("private_access_settings_name", private_access_settings_name) _setter("region", region) if account_id is not None: @@ -212,7 +226,21 @@ def _configure( public_access_enabled: Optional[pulumi.Input[bool]] = None, region: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'allowedVpcEndpointIds' in kwargs: + allowed_vpc_endpoint_ids = kwargs['allowedVpcEndpointIds'] + if 'privateAccessLevel' in kwargs: + private_access_level = kwargs['privateAccessLevel'] + if 'privateAccessSettingsId' in kwargs: + private_access_settings_id = kwargs['privateAccessSettingsId'] + if 'privateAccessSettingsName' in kwargs: + private_access_settings_name = kwargs['privateAccessSettingsName'] + if 'publicAccessEnabled' in kwargs: + public_access_enabled = kwargs['publicAccessEnabled'] + if account_id is not None: _setter("account_id", account_id) if allowed_vpc_endpoint_ids is not None: diff --git a/sdk/python/pulumi_databricks/mws_storage_configurations.py b/sdk/python/pulumi_databricks/mws_storage_configurations.py index 48a37f4b..318202d3 100644 --- a/sdk/python/pulumi_databricks/mws_storage_configurations.py +++ b/sdk/python/pulumi_databricks/mws_storage_configurations.py @@ -35,7 +35,15 @@ def _configure( account_id: pulumi.Input[str], bucket_name: pulumi.Input[str], storage_configuration_name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'storageConfigurationName' in kwargs: + storage_configuration_name = kwargs['storageConfigurationName'] + _setter("account_id", account_id) _setter("bucket_name", bucket_name) _setter("storage_configuration_name", storage_configuration_name) @@ -108,7 +116,19 @@ def _configure( creation_time: Optional[pulumi.Input[int]] = None, storage_configuration_id: Optional[pulumi.Input[str]] = None, storage_configuration_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'storageConfigurationId' in kwargs: + storage_configuration_id = kwargs['storageConfigurationId'] + if 'storageConfigurationName' in kwargs: + storage_configuration_name = kwargs['storageConfigurationName'] + if account_id is not None: _setter("account_id", account_id) if bucket_name is not None: diff --git a/sdk/python/pulumi_databricks/mws_vpc_endpoint.py b/sdk/python/pulumi_databricks/mws_vpc_endpoint.py index 4d141ffb..597412d4 100644 --- a/sdk/python/pulumi_databricks/mws_vpc_endpoint.py +++ b/sdk/python/pulumi_databricks/mws_vpc_endpoint.py @@ -63,7 +63,25 @@ def _configure( state: Optional[pulumi.Input[str]] = None, use_case: Optional[pulumi.Input[str]] = None, vpc_endpoint_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vpcEndpointName' in kwargs: + vpc_endpoint_name = kwargs['vpcEndpointName'] + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'awsAccountId' in kwargs: + aws_account_id = kwargs['awsAccountId'] + if 'awsEndpointServiceId' in kwargs: + aws_endpoint_service_id = kwargs['awsEndpointServiceId'] + if 'awsVpcEndpointId' in kwargs: + aws_vpc_endpoint_id = kwargs['awsVpcEndpointId'] + if 'gcpVpcEndpointInfo' in kwargs: + gcp_vpc_endpoint_info = kwargs['gcpVpcEndpointInfo'] + if 'useCase' in kwargs: + use_case = kwargs['useCase'] + if 'vpcEndpointId' in kwargs: + vpc_endpoint_id = kwargs['vpcEndpointId'] + _setter("vpc_endpoint_name", vpc_endpoint_name) if account_id is not None: _setter("account_id", account_id) @@ -249,7 +267,25 @@ def _configure( use_case: Optional[pulumi.Input[str]] = None, vpc_endpoint_id: Optional[pulumi.Input[str]] = None, vpc_endpoint_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'awsAccountId' in kwargs: + aws_account_id = kwargs['awsAccountId'] + if 'awsEndpointServiceId' in kwargs: + aws_endpoint_service_id = kwargs['awsEndpointServiceId'] + if 'awsVpcEndpointId' in kwargs: + aws_vpc_endpoint_id = kwargs['awsVpcEndpointId'] + if 'gcpVpcEndpointInfo' in kwargs: + gcp_vpc_endpoint_info = kwargs['gcpVpcEndpointInfo'] + if 'useCase' in kwargs: + use_case = kwargs['useCase'] + if 'vpcEndpointId' in kwargs: + vpc_endpoint_id = kwargs['vpcEndpointId'] + if 'vpcEndpointName' in kwargs: + vpc_endpoint_name = kwargs['vpcEndpointName'] + if account_id is not None: _setter("account_id", account_id) if aws_account_id is not None: diff --git a/sdk/python/pulumi_databricks/mws_workspaces.py b/sdk/python/pulumi_databricks/mws_workspaces.py index dc8e09d1..a5979b7a 100644 --- a/sdk/python/pulumi_databricks/mws_workspaces.py +++ b/sdk/python/pulumi_databricks/mws_workspaces.py @@ -117,7 +117,53 @@ def _configure( workspace_status: Optional[pulumi.Input[str]] = None, workspace_status_message: Optional[pulumi.Input[str]] = None, workspace_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'workspaceName' in kwargs: + workspace_name = kwargs['workspaceName'] + if 'awsRegion' in kwargs: + aws_region = kwargs['awsRegion'] + if 'cloudResourceContainer' in kwargs: + cloud_resource_container = kwargs['cloudResourceContainer'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'credentialsId' in kwargs: + credentials_id = kwargs['credentialsId'] + if 'customerManagedKeyId' in kwargs: + customer_managed_key_id = kwargs['customerManagedKeyId'] + if 'deploymentName' in kwargs: + deployment_name = kwargs['deploymentName'] + if 'externalCustomerInfo' in kwargs: + external_customer_info = kwargs['externalCustomerInfo'] + if 'gcpManagedNetworkConfig' in kwargs: + gcp_managed_network_config = kwargs['gcpManagedNetworkConfig'] + if 'gkeConfig' in kwargs: + gke_config = kwargs['gkeConfig'] + if 'isNoPublicIpEnabled' in kwargs: + is_no_public_ip_enabled = kwargs['isNoPublicIpEnabled'] + if 'managedServicesCustomerManagedKeyId' in kwargs: + managed_services_customer_managed_key_id = kwargs['managedServicesCustomerManagedKeyId'] + if 'networkId' in kwargs: + network_id = kwargs['networkId'] + if 'pricingTier' in kwargs: + pricing_tier = kwargs['pricingTier'] + if 'privateAccessSettingsId' in kwargs: + private_access_settings_id = kwargs['privateAccessSettingsId'] + if 'storageConfigurationId' in kwargs: + storage_configuration_id = kwargs['storageConfigurationId'] + if 'storageCustomerManagedKeyId' in kwargs: + storage_customer_managed_key_id = kwargs['storageCustomerManagedKeyId'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + if 'workspaceStatus' in kwargs: + workspace_status = kwargs['workspaceStatus'] + if 'workspaceStatusMessage' in kwargs: + workspace_status_message = kwargs['workspaceStatusMessage'] + if 'workspaceUrl' in kwargs: + workspace_url = kwargs['workspaceUrl'] + _setter("account_id", account_id) _setter("workspace_name", workspace_name) if aws_region is not None: @@ -554,7 +600,53 @@ def _configure( workspace_status: Optional[pulumi.Input[str]] = None, workspace_status_message: Optional[pulumi.Input[str]] = None, workspace_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'awsRegion' in kwargs: + aws_region = kwargs['awsRegion'] + if 'cloudResourceContainer' in kwargs: + cloud_resource_container = kwargs['cloudResourceContainer'] + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'credentialsId' in kwargs: + credentials_id = kwargs['credentialsId'] + if 'customerManagedKeyId' in kwargs: + customer_managed_key_id = kwargs['customerManagedKeyId'] + if 'deploymentName' in kwargs: + deployment_name = kwargs['deploymentName'] + if 'externalCustomerInfo' in kwargs: + external_customer_info = kwargs['externalCustomerInfo'] + if 'gcpManagedNetworkConfig' in kwargs: + gcp_managed_network_config = kwargs['gcpManagedNetworkConfig'] + if 'gkeConfig' in kwargs: + gke_config = kwargs['gkeConfig'] + if 'isNoPublicIpEnabled' in kwargs: + is_no_public_ip_enabled = kwargs['isNoPublicIpEnabled'] + if 'managedServicesCustomerManagedKeyId' in kwargs: + managed_services_customer_managed_key_id = kwargs['managedServicesCustomerManagedKeyId'] + if 'networkId' in kwargs: + network_id = kwargs['networkId'] + if 'pricingTier' in kwargs: + pricing_tier = kwargs['pricingTier'] + if 'privateAccessSettingsId' in kwargs: + private_access_settings_id = kwargs['privateAccessSettingsId'] + if 'storageConfigurationId' in kwargs: + storage_configuration_id = kwargs['storageConfigurationId'] + if 'storageCustomerManagedKeyId' in kwargs: + storage_customer_managed_key_id = kwargs['storageCustomerManagedKeyId'] + if 'workspaceId' in kwargs: + workspace_id = kwargs['workspaceId'] + if 'workspaceName' in kwargs: + workspace_name = kwargs['workspaceName'] + if 'workspaceStatus' in kwargs: + workspace_status = kwargs['workspaceStatus'] + if 'workspaceStatusMessage' in kwargs: + workspace_status_message = kwargs['workspaceStatusMessage'] + if 'workspaceUrl' in kwargs: + workspace_url = kwargs['workspaceUrl'] + if account_id is not None: _setter("account_id", account_id) if aws_region is not None: diff --git a/sdk/python/pulumi_databricks/notebook.py b/sdk/python/pulumi_databricks/notebook.py index 00a36ca4..c3a5c135 100644 --- a/sdk/python/pulumi_databricks/notebook.py +++ b/sdk/python/pulumi_databricks/notebook.py @@ -51,7 +51,15 @@ def _configure( object_id: Optional[pulumi.Input[int]] = None, object_type: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contentBase64' in kwargs: + content_base64 = kwargs['contentBase64'] + if 'objectId' in kwargs: + object_id = kwargs['objectId'] + if 'objectType' in kwargs: + object_type = kwargs['objectType'] + _setter("path", path) if content_base64 is not None: _setter("content_base64", content_base64) @@ -203,7 +211,15 @@ def _configure( path: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contentBase64' in kwargs: + content_base64 = kwargs['contentBase64'] + if 'objectId' in kwargs: + object_id = kwargs['objectId'] + if 'objectType' in kwargs: + object_type = kwargs['objectType'] + if content_base64 is not None: _setter("content_base64", content_base64) if format is not None: diff --git a/sdk/python/pulumi_databricks/obo_token.py b/sdk/python/pulumi_databricks/obo_token.py index 4e18b8c5..17ad09d6 100644 --- a/sdk/python/pulumi_databricks/obo_token.py +++ b/sdk/python/pulumi_databricks/obo_token.py @@ -35,7 +35,13 @@ def _configure( application_id: pulumi.Input[str], comment: Optional[pulumi.Input[str]] = None, lifetime_seconds: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'lifetimeSeconds' in kwargs: + lifetime_seconds = kwargs['lifetimeSeconds'] + _setter("application_id", application_id) if comment is not None: _setter("comment", comment) @@ -107,7 +113,15 @@ def _configure( comment: Optional[pulumi.Input[str]] = None, lifetime_seconds: Optional[pulumi.Input[int]] = None, token_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'lifetimeSeconds' in kwargs: + lifetime_seconds = kwargs['lifetimeSeconds'] + if 'tokenValue' in kwargs: + token_value = kwargs['tokenValue'] + if application_id is not None: _setter("application_id", application_id) if comment is not None: diff --git a/sdk/python/pulumi_databricks/outputs.py b/sdk/python/pulumi_databricks/outputs.py index 6f841d13..0ea363fd 100644 --- a/sdk/python/pulumi_databricks/outputs.py +++ b/sdk/python/pulumi_databricks/outputs.py @@ -476,7 +476,9 @@ def _configure( _setter: Callable[[Any, Any], None], role: str, principals: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("role", role) if principals is not None: _setter("principals", principals) @@ -539,7 +541,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -618,7 +626,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -714,7 +738,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -753,7 +783,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.ClusterClusterLogConfDbfs'] = None, s3: Optional['outputs.ClusterClusterLogConfS3'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -782,7 +814,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -844,7 +878,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -934,7 +978,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'outputs.ClusterClusterMountInfoNetworkFilesystemInfo', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -990,7 +1042,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -1038,7 +1096,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.ClusterDockerImageBasicAuth'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -1069,7 +1131,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -1136,7 +1200,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -1214,7 +1290,9 @@ def _configure( s3: Optional['outputs.ClusterInitScriptS3'] = None, volumes: Optional['outputs.ClusterInitScriptVolumes'] = None, workspace: Optional['outputs.ClusterInitScriptWorkspace'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -1281,7 +1359,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1303,7 +1383,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -1324,7 +1406,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1346,7 +1430,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1409,7 +1495,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -1472,7 +1568,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1494,7 +1592,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -1531,7 +1631,9 @@ def _configure( maven: Optional['outputs.ClusterLibraryMaven'] = None, pypi: Optional['outputs.ClusterLibraryPypi'] = None, whl: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -1591,7 +1693,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -1625,7 +1729,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -1663,7 +1769,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -1691,7 +1799,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'outputs.ClusterWorkloadTypeClients', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -1715,7 +1825,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -1761,7 +1873,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], sse_encryption_details: Optional['outputs.ExternalLocationEncryptionDetailsSseEncryptionDetails'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sseEncryptionDetails' in kwargs: + sse_encryption_details = kwargs['sseEncryptionDetails'] + if sse_encryption_details is not None: _setter("sse_encryption_details", sse_encryption_details) @@ -1803,7 +1919,11 @@ def _configure( _setter: Callable[[Any, Any], None], algorithm: Optional[str] = None, aws_kms_key_arn: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsKmsKeyArn' in kwargs: + aws_kms_key_arn = kwargs['awsKmsKeyArn'] + if algorithm is not None: _setter("algorithm", algorithm) if aws_kms_key_arn is not None: @@ -1835,7 +1955,9 @@ def _configure( _setter: Callable[[Any, Any], None], principal: str, privileges: Sequence[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("principal", principal) _setter("privileges", privileges) @@ -1892,7 +2014,13 @@ def _configure( availability: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if spot_bid_price_percent is not None: @@ -1961,7 +2089,11 @@ def _configure( _setter: Callable[[Any, Any], None], availability: Optional[str] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if spot_bid_max_price is not None: @@ -2027,7 +2159,15 @@ def _configure( disk_count: Optional[int] = None, disk_size: Optional[int] = None, disk_type: Optional['outputs.InstancePoolDiskSpecDiskType'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'diskCount' in kwargs: + disk_count = kwargs['diskCount'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if disk_count is not None: _setter("disk_count", disk_count) if disk_size is not None: @@ -2091,7 +2231,13 @@ def _configure( _setter: Callable[[Any, Any], None], azure_disk_volume_type: Optional[str] = None, ebs_volume_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'azureDiskVolumeType' in kwargs: + azure_disk_volume_type = kwargs['azureDiskVolumeType'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if azure_disk_volume_type is not None: _setter("azure_disk_volume_type", azure_disk_volume_type) if ebs_volume_type is not None: @@ -2146,7 +2292,13 @@ def _configure( _setter: Callable[[Any, Any], None], gcp_availability: Optional[str] = None, local_ssd_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gcpAvailability' in kwargs: + gcp_availability = kwargs['gcpAvailability'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if gcp_availability is not None: _setter("gcp_availability", gcp_availability) if local_ssd_count is not None: @@ -2208,7 +2360,15 @@ def _configure( launch_template_overrides: Sequence['outputs.InstancePoolInstancePoolFleetAttributesLaunchTemplateOverride'], fleet_on_demand_option: Optional['outputs.InstancePoolInstancePoolFleetAttributesFleetOnDemandOption'] = None, fleet_spot_option: Optional['outputs.InstancePoolInstancePoolFleetAttributesFleetSpotOption'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'launchTemplateOverrides' in kwargs: + launch_template_overrides = kwargs['launchTemplateOverrides'] + if 'fleetOnDemandOption' in kwargs: + fleet_on_demand_option = kwargs['fleetOnDemandOption'] + if 'fleetSpotOption' in kwargs: + fleet_spot_option = kwargs['fleetSpotOption'] + _setter("launch_template_overrides", launch_template_overrides) if fleet_on_demand_option is not None: _setter("fleet_on_demand_option", fleet_on_demand_option) @@ -2265,7 +2425,13 @@ def _configure( _setter: Callable[[Any, Any], None], allocation_strategy: str, instance_pools_to_use_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allocationStrategy' in kwargs: + allocation_strategy = kwargs['allocationStrategy'] + if 'instancePoolsToUseCount' in kwargs: + instance_pools_to_use_count = kwargs['instancePoolsToUseCount'] + _setter("allocation_strategy", allocation_strategy) if instance_pools_to_use_count is not None: _setter("instance_pools_to_use_count", instance_pools_to_use_count) @@ -2315,7 +2481,13 @@ def _configure( _setter: Callable[[Any, Any], None], allocation_strategy: str, instance_pools_to_use_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allocationStrategy' in kwargs: + allocation_strategy = kwargs['allocationStrategy'] + if 'instancePoolsToUseCount' in kwargs: + instance_pools_to_use_count = kwargs['instancePoolsToUseCount'] + _setter("allocation_strategy", allocation_strategy) if instance_pools_to_use_count is not None: _setter("instance_pools_to_use_count", instance_pools_to_use_count) @@ -2365,7 +2537,13 @@ def _configure( _setter: Callable[[Any, Any], None], availability_zone: str, instance_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + _setter("availability_zone", availability_zone) _setter("instance_type", instance_type) @@ -2412,7 +2590,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.InstancePoolPreloadedDockerImageBasicAuth'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -2443,7 +2625,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -2490,7 +2674,11 @@ def _configure( _setter: Callable[[Any, Any], None], compute_key: Optional[str] = None, spec: Optional['outputs.JobComputeSpec'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'computeKey' in kwargs: + compute_key = kwargs['computeKey'] + if compute_key is not None: _setter("compute_key", compute_key) if spec is not None: @@ -2519,7 +2707,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], kind: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if kind is not None: _setter("kind", kind) @@ -2561,7 +2751,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + if pause_status is not None: _setter("pause_status", pause_status) @@ -2632,7 +2826,15 @@ def _configure( project_directory: Optional[str] = None, schema: Optional[str] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'profilesDirectory' in kwargs: + profiles_directory = kwargs['profilesDirectory'] + if 'projectDirectory' in kwargs: + project_directory = kwargs['projectDirectory'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + _setter("commands", commands) if catalog is not None: _setter("catalog", catalog) @@ -2758,7 +2960,21 @@ def _configure( on_failures: Optional[Sequence[str]] = None, on_starts: Optional[Sequence[str]] = None, on_successes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_skipped_runs is not None: @@ -2872,7 +3088,11 @@ def _configure( job_source: Optional['outputs.JobGitSourceJobSource'] = None, provider: Optional[str] = None, tag: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobSource' in kwargs: + job_source = kwargs['jobSource'] + _setter("url", url) if branch is not None: _setter("branch", branch) @@ -2970,7 +3190,15 @@ def _configure( import_from_git_branch: str, job_config_path: str, dirty_state: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'importFromGitBranch' in kwargs: + import_from_git_branch = kwargs['importFromGitBranch'] + if 'jobConfigPath' in kwargs: + job_config_path = kwargs['jobConfigPath'] + if 'dirtyState' in kwargs: + dirty_state = kwargs['dirtyState'] + _setter("import_from_git_branch", import_from_git_branch) _setter("job_config_path", job_config_path) if dirty_state is not None: @@ -3007,7 +3235,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rules: Sequence['outputs.JobHealthRule'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rules", rules) @property @@ -3042,7 +3272,9 @@ def _configure( metric: Optional[str] = None, op: Optional[str] = None, value: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if metric is not None: _setter("metric", metric) if op is not None: @@ -3113,7 +3345,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_cluster_key: Optional[str] = None, new_cluster: Optional['outputs.JobJobClusterNewCluster'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobClusterKey' in kwargs: + job_cluster_key = kwargs['jobClusterKey'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if job_cluster_key is not None: _setter("job_cluster_key", job_cluster_key) if new_cluster is not None: @@ -3308,7 +3546,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.JobJobClusterNewClusterWorkloadType'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("spark_version", spark_version) if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) @@ -3554,7 +3852,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -3633,7 +3937,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -3729,7 +4049,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -3768,7 +4094,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.JobJobClusterNewClusterClusterLogConfDbfs'] = None, s3: Optional['outputs.JobJobClusterNewClusterClusterLogConfS3'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -3797,7 +4125,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -3859,7 +4189,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -3949,7 +4289,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'outputs.JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -4005,7 +4353,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -4056,7 +4410,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.JobJobClusterNewClusterDockerImageBasicAuth'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -4090,7 +4448,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -4157,7 +4517,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -4278,7 +4650,9 @@ def _configure( s3: Optional['outputs.JobJobClusterNewClusterInitScriptS3'] = None, volumes: Optional['outputs.JobJobClusterNewClusterInitScriptVolumes'] = None, workspace: Optional['outputs.JobJobClusterNewClusterInitScriptWorkspace'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -4391,7 +4765,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4413,7 +4789,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -4434,7 +4812,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4456,7 +4836,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4519,7 +4901,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -4582,7 +4974,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4604,7 +4998,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -4626,7 +5022,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'outputs.JobJobClusterNewClusterWorkloadTypeClients', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -4650,7 +5048,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -4694,7 +5094,9 @@ def _configure( maven: Optional['outputs.JobLibraryMaven'] = None, pypi: Optional['outputs.JobLibraryPypi'] = None, whl: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -4754,7 +5156,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -4788,7 +5192,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -4826,7 +5232,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -5014,7 +5422,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.JobNewClusterWorkloadType'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("spark_version", spark_version) if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) @@ -5260,7 +5728,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -5339,7 +5813,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -5435,7 +5925,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -5474,7 +5970,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.JobNewClusterClusterLogConfDbfs'] = None, s3: Optional['outputs.JobNewClusterClusterLogConfS3'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -5503,7 +6001,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -5565,7 +6065,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -5655,7 +6165,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'outputs.JobNewClusterClusterMountInfoNetworkFilesystemInfo', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -5711,7 +6229,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -5762,7 +6286,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.JobNewClusterDockerImageBasicAuth'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -5796,7 +6324,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -5863,7 +6393,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -5984,7 +6526,9 @@ def _configure( s3: Optional['outputs.JobNewClusterInitScriptS3'] = None, volumes: Optional['outputs.JobNewClusterInitScriptVolumes'] = None, workspace: Optional['outputs.JobNewClusterInitScriptWorkspace'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -6097,7 +6641,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6119,7 +6665,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -6140,7 +6688,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6162,7 +6712,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6225,7 +6777,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -6288,7 +6850,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6310,7 +6874,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -6332,7 +6898,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'outputs.JobNewClusterWorkloadTypeClients', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -6356,7 +6924,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -6415,7 +6985,13 @@ def _configure( notebook_path: str, base_parameters: Optional[Mapping[str, Any]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'baseParameters' in kwargs: + base_parameters = kwargs['baseParameters'] + _setter("notebook_path", notebook_path) if base_parameters is not None: _setter("base_parameters", base_parameters) @@ -6485,7 +7061,13 @@ def _configure( _setter: Callable[[Any, Any], None], no_alert_for_canceled_runs: Optional[bool] = None, no_alert_for_skipped_runs: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'noAlertForCanceledRuns' in kwargs: + no_alert_for_canceled_runs = kwargs['noAlertForCanceledRuns'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if no_alert_for_canceled_runs is not None: _setter("no_alert_for_canceled_runs", no_alert_for_canceled_runs) if no_alert_for_skipped_runs is not None: @@ -6527,7 +7109,9 @@ def _configure( _setter: Callable[[Any, Any], None], default: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if default is not None: _setter("default", default) if name is not None: @@ -6590,7 +7174,13 @@ def _configure( _setter: Callable[[Any, Any], None], pipeline_id: str, full_refresh: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'fullRefresh' in kwargs: + full_refresh = kwargs['fullRefresh'] + _setter("pipeline_id", pipeline_id) if full_refresh is not None: _setter("full_refresh", full_refresh) @@ -6662,7 +7252,15 @@ def _configure( named_parameters: Optional[Mapping[str, Any]] = None, package_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'entryPoint' in kwargs: + entry_point = kwargs['entryPoint'] + if 'namedParameters' in kwargs: + named_parameters = kwargs['namedParameters'] + if 'packageName' in kwargs: + package_name = kwargs['packageName'] + if entry_point is not None: _setter("entry_point", entry_point) if named_parameters is not None: @@ -6707,13 +7305,25 @@ def parameters(self) -> Optional[Sequence[str]]: @pulumi.output_type class JobQueue(dict): - def __init__(__self__): - pass + def __init__(__self__, *, + enabled: bool): + JobQueue._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + ) @staticmethod def _configure( _setter: Callable[[Any, Any], None], - opts: Optional[pulumi.ResourceOptions]=None): - pass + enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> bool: + return pulumi.get(self, "enabled") @pulumi.output_type @@ -6743,7 +7353,7 @@ def __init__(__self__, *, """ :param str service_principal_name: The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - Example + Example: ```python import pulumi @@ -6765,7 +7375,13 @@ def _configure( _setter: Callable[[Any, Any], None], service_principal_name: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servicePrincipalName' in kwargs: + service_principal_name = kwargs['servicePrincipalName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if service_principal_name is not None: _setter("service_principal_name", service_principal_name) if user_name is not None: @@ -6777,7 +7393,7 @@ def service_principal_name(self) -> Optional[str]: """ The application ID of an active service principal. Setting this field requires the `servicePrincipal/user` role. - Example + Example: ```python import pulumi @@ -6837,7 +7453,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_id: int, job_parameters: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'jobParameters' in kwargs: + job_parameters = kwargs['jobParameters'] + _setter("job_id", job_id) if job_parameters is not None: _setter("job_parameters", job_parameters) @@ -6903,7 +7525,15 @@ def _configure( quartz_cron_expression: str, timezone_id: str, pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'quartzCronExpression' in kwargs: + quartz_cron_expression = kwargs['quartzCronExpression'] + if 'timezoneId' in kwargs: + timezone_id = kwargs['timezoneId'] + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + _setter("quartz_cron_expression", quartz_cron_expression) _setter("timezone_id", timezone_id) if pause_status is not None: @@ -6975,7 +7605,13 @@ def _configure( jar_uri: Optional[str] = None, main_class_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jarUri' in kwargs: + jar_uri = kwargs['jarUri'] + if 'mainClassName' in kwargs: + main_class_name = kwargs['mainClassName'] + if jar_uri is not None: _setter("jar_uri", jar_uri) if main_class_name is not None: @@ -7045,7 +7681,11 @@ def _configure( python_file: str, parameters: Optional[Sequence[str]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pythonFile' in kwargs: + python_file = kwargs['pythonFile'] + _setter("python_file", python_file) if parameters is not None: _setter("parameters", parameters) @@ -7092,7 +7732,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if parameters is not None: _setter("parameters", parameters) @@ -7269,7 +7911,55 @@ def _configure( sql_task: Optional['outputs.JobTaskSqlTask'] = None, task_key: Optional[str] = None, timeout_seconds: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'computeKey' in kwargs: + compute_key = kwargs['computeKey'] + if 'conditionTask' in kwargs: + condition_task = kwargs['conditionTask'] + if 'dbtTask' in kwargs: + dbt_task = kwargs['dbtTask'] + if 'dependsOns' in kwargs: + depends_ons = kwargs['dependsOns'] + if 'emailNotifications' in kwargs: + email_notifications = kwargs['emailNotifications'] + if 'existingClusterId' in kwargs: + existing_cluster_id = kwargs['existingClusterId'] + if 'jobClusterKey' in kwargs: + job_cluster_key = kwargs['jobClusterKey'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'minRetryIntervalMillis' in kwargs: + min_retry_interval_millis = kwargs['minRetryIntervalMillis'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if 'notebookTask' in kwargs: + notebook_task = kwargs['notebookTask'] + if 'notificationSettings' in kwargs: + notification_settings = kwargs['notificationSettings'] + if 'pipelineTask' in kwargs: + pipeline_task = kwargs['pipelineTask'] + if 'pythonWheelTask' in kwargs: + python_wheel_task = kwargs['pythonWheelTask'] + if 'retryOnTimeout' in kwargs: + retry_on_timeout = kwargs['retryOnTimeout'] + if 'runIf' in kwargs: + run_if = kwargs['runIf'] + if 'runJobTask' in kwargs: + run_job_task = kwargs['runJobTask'] + if 'sparkJarTask' in kwargs: + spark_jar_task = kwargs['sparkJarTask'] + if 'sparkPythonTask' in kwargs: + spark_python_task = kwargs['sparkPythonTask'] + if 'sparkSubmitTask' in kwargs: + spark_submit_task = kwargs['sparkSubmitTask'] + if 'sqlTask' in kwargs: + sql_task = kwargs['sqlTask'] + if 'taskKey' in kwargs: + task_key = kwargs['taskKey'] + if 'timeoutSeconds' in kwargs: + timeout_seconds = kwargs['timeoutSeconds'] + if compute_key is not None: _setter("compute_key", compute_key) if condition_task is not None: @@ -7515,7 +8205,9 @@ def _configure( left: Optional[str] = None, op: Optional[str] = None, right: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if left is not None: _setter("left", left) if op is not None: @@ -7600,7 +8292,15 @@ def _configure( project_directory: Optional[str] = None, schema: Optional[str] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'profilesDirectory' in kwargs: + profiles_directory = kwargs['profilesDirectory'] + if 'projectDirectory' in kwargs: + project_directory = kwargs['projectDirectory'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + _setter("commands", commands) if catalog is not None: _setter("catalog", catalog) @@ -7699,7 +8399,11 @@ def _configure( _setter: Callable[[Any, Any], None], task_key: str, outcome: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'taskKey' in kwargs: + task_key = kwargs['taskKey'] + _setter("task_key", task_key) if outcome is not None: _setter("outcome", outcome) @@ -7780,7 +8484,21 @@ def _configure( on_failures: Optional[Sequence[str]] = None, on_starts: Optional[Sequence[str]] = None, on_successes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_skipped_runs is not None: @@ -7858,7 +8576,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rules: Sequence['outputs.JobTaskHealthRule'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rules", rules) @property @@ -7893,7 +8613,9 @@ def _configure( metric: Optional[str] = None, op: Optional[str] = None, value: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if metric is not None: _setter("metric", metric) if op is not None: @@ -7953,7 +8675,9 @@ def _configure( maven: Optional['outputs.JobTaskLibraryMaven'] = None, pypi: Optional['outputs.JobTaskLibraryPypi'] = None, whl: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -8013,7 +8737,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -8047,7 +8773,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -8085,7 +8813,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -8273,7 +9003,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.JobTaskNewClusterWorkloadType'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("spark_version", spark_version) if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) @@ -8519,7 +9309,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -8598,7 +9394,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -8694,7 +9506,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -8733,7 +9551,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.JobTaskNewClusterClusterLogConfDbfs'] = None, s3: Optional['outputs.JobTaskNewClusterClusterLogConfS3'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -8762,7 +9582,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -8824,7 +9646,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -8914,7 +9746,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'outputs.JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -8970,7 +9810,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -9021,7 +9867,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.JobTaskNewClusterDockerImageBasicAuth'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -9055,7 +9905,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -9122,7 +9974,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -9243,7 +10107,9 @@ def _configure( s3: Optional['outputs.JobTaskNewClusterInitScriptS3'] = None, volumes: Optional['outputs.JobTaskNewClusterInitScriptVolumes'] = None, workspace: Optional['outputs.JobTaskNewClusterInitScriptWorkspace'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -9356,7 +10222,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9378,7 +10246,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -9399,7 +10269,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9421,7 +10293,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9484,7 +10358,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -9547,7 +10431,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9569,7 +10455,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -9591,7 +10479,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'outputs.JobTaskNewClusterWorkloadTypeClients', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -9615,7 +10505,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -9674,7 +10566,13 @@ def _configure( notebook_path: str, base_parameters: Optional[Mapping[str, Any]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'baseParameters' in kwargs: + base_parameters = kwargs['baseParameters'] + _setter("notebook_path", notebook_path) if base_parameters is not None: _setter("base_parameters", base_parameters) @@ -9750,7 +10648,15 @@ def _configure( alert_on_last_attempt: Optional[bool] = None, no_alert_for_canceled_runs: Optional[bool] = None, no_alert_for_skipped_runs: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForCanceledRuns' in kwargs: + no_alert_for_canceled_runs = kwargs['noAlertForCanceledRuns'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_canceled_runs is not None: @@ -9823,7 +10729,13 @@ def _configure( _setter: Callable[[Any, Any], None], pipeline_id: str, full_refresh: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'fullRefresh' in kwargs: + full_refresh = kwargs['fullRefresh'] + _setter("pipeline_id", pipeline_id) if full_refresh is not None: _setter("full_refresh", full_refresh) @@ -9895,7 +10807,15 @@ def _configure( named_parameters: Optional[Mapping[str, Any]] = None, package_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'entryPoint' in kwargs: + entry_point = kwargs['entryPoint'] + if 'namedParameters' in kwargs: + named_parameters = kwargs['namedParameters'] + if 'packageName' in kwargs: + package_name = kwargs['packageName'] + if entry_point is not None: _setter("entry_point", entry_point) if named_parameters is not None: @@ -9976,7 +10896,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_id: int, job_parameters: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'jobParameters' in kwargs: + job_parameters = kwargs['jobParameters'] + _setter("job_id", job_id) if job_parameters is not None: _setter("job_parameters", job_parameters) @@ -10039,7 +10965,13 @@ def _configure( jar_uri: Optional[str] = None, main_class_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jarUri' in kwargs: + jar_uri = kwargs['jarUri'] + if 'mainClassName' in kwargs: + main_class_name = kwargs['mainClassName'] + if jar_uri is not None: _setter("jar_uri", jar_uri) if main_class_name is not None: @@ -10109,7 +11041,11 @@ def _configure( python_file: str, parameters: Optional[Sequence[str]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pythonFile' in kwargs: + python_file = kwargs['pythonFile'] + _setter("python_file", python_file) if parameters is not None: _setter("parameters", parameters) @@ -10156,7 +11092,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if parameters is not None: _setter("parameters", parameters) @@ -10264,7 +11202,11 @@ def _configure( parameters: Optional[Mapping[str, Any]] = None, query: Optional['outputs.JobTaskSqlTaskQuery'] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + if alert is not None: _setter("alert", alert) if dashboard is not None: @@ -10412,7 +11354,13 @@ def _configure( alert_id: str, subscriptions: Sequence['outputs.JobTaskSqlTaskAlertSubscription'], pause_subscriptions: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if 'pauseSubscriptions' in kwargs: + pause_subscriptions = kwargs['pauseSubscriptions'] + _setter("alert_id", alert_id) _setter("subscriptions", subscriptions) if pause_subscriptions is not None: @@ -10480,7 +11428,13 @@ def _configure( _setter: Callable[[Any, Any], None], destination_id: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'destinationId' in kwargs: + destination_id = kwargs['destinationId'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if destination_id is not None: _setter("destination_id", destination_id) if user_name is not None: @@ -10548,7 +11502,15 @@ def _configure( custom_subject: Optional[str] = None, pause_subscriptions: Optional[bool] = None, subscriptions: Optional[Sequence['outputs.JobTaskSqlTaskDashboardSubscription']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dashboardId' in kwargs: + dashboard_id = kwargs['dashboardId'] + if 'customSubject' in kwargs: + custom_subject = kwargs['customSubject'] + if 'pauseSubscriptions' in kwargs: + pause_subscriptions = kwargs['pauseSubscriptions'] + _setter("dashboard_id", dashboard_id) if custom_subject is not None: _setter("custom_subject", custom_subject) @@ -10627,7 +11589,13 @@ def _configure( _setter: Callable[[Any, Any], None], destination_id: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'destinationId' in kwargs: + destination_id = kwargs['destinationId'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if destination_id is not None: _setter("destination_id", destination_id) if user_name is not None: @@ -10659,7 +11627,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], path: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) @property @@ -10697,7 +11667,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], query_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + _setter("query_id", query_id) @property @@ -10744,7 +11718,13 @@ def _configure( _setter: Callable[[Any, Any], None], file_arrival: 'outputs.JobTriggerFileArrival', pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'fileArrival' in kwargs: + file_arrival = kwargs['fileArrival'] + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + _setter("file_arrival", file_arrival) if pause_status is not None: _setter("pause_status", pause_status) @@ -10808,7 +11788,13 @@ def _configure( url: str, min_time_between_triggers_seconds: Optional[int] = None, wait_after_last_change_seconds: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'minTimeBetweenTriggersSeconds' in kwargs: + min_time_between_triggers_seconds = kwargs['minTimeBetweenTriggersSeconds'] + if 'waitAfterLastChangeSeconds' in kwargs: + wait_after_last_change_seconds = kwargs['waitAfterLastChangeSeconds'] + _setter("url", url) if min_time_between_triggers_seconds is not None: _setter("min_time_between_triggers_seconds", min_time_between_triggers_seconds) @@ -10898,7 +11884,17 @@ def _configure( on_failures: Optional[Sequence['outputs.JobWebhookNotificationsOnFailure']] = None, on_starts: Optional[Sequence['outputs.JobWebhookNotificationsOnStart']] = None, on_successes: Optional[Sequence['outputs.JobWebhookNotificationsOnSuccess']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if on_duration_warning_threshold_exceededs is not None: _setter("on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) if on_failures is not None: @@ -10964,7 +11960,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -10991,7 +11989,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -11018,7 +12018,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -11045,7 +12047,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -11072,7 +12076,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -11106,7 +12112,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -11144,7 +12152,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -11194,7 +12204,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], role_arn: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + _setter("role_arn", role_arn) @property @@ -11253,7 +12267,15 @@ def _configure( access_connector_id: str, credential_id: Optional[str] = None, managed_identity_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessConnectorId' in kwargs: + access_connector_id = kwargs['accessConnectorId'] + if 'credentialId' in kwargs: + credential_id = kwargs['credentialId'] + if 'managedIdentityId' in kwargs: + managed_identity_id = kwargs['managedIdentityId'] + _setter("access_connector_id", access_connector_id) if credential_id is not None: _setter("credential_id", credential_id) @@ -11328,7 +12350,15 @@ def _configure( application_id: str, client_secret: str, directory_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'directoryId' in kwargs: + directory_id = kwargs['directoryId'] + _setter("application_id", application_id) _setter("client_secret", client_secret) _setter("directory_id", directory_id) @@ -11395,7 +12425,11 @@ def _configure( _setter: Callable[[Any, Any], None], credential_id: Optional[str] = None, email: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'credentialId' in kwargs: + credential_id = kwargs['credentialId'] + if credential_id is not None: _setter("credential_id", credential_id) if email is not None: @@ -11459,7 +12493,13 @@ def _configure( email: str, private_key: str, private_key_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'privateKey' in kwargs: + private_key = kwargs['privateKey'] + if 'privateKeyId' in kwargs: + private_key_id = kwargs['privateKeyId'] + _setter("email", email) _setter("private_key", private_key) _setter("private_key_id", private_key_id) @@ -11500,7 +12540,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if key is not None: _setter("key", key) if value is not None: @@ -11561,7 +12603,11 @@ def _configure( authorization: Optional[str] = None, enable_ssl_verification: Optional[bool] = None, secret: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'enableSslVerification' in kwargs: + enable_ssl_verification = kwargs['enableSslVerification'] + _setter("url", url) if authorization is not None: _setter("authorization", authorization) @@ -11647,7 +12693,15 @@ def _configure( access_token: str, job_id: str, workspace_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessToken' in kwargs: + access_token = kwargs['accessToken'] + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'workspaceUrl' in kwargs: + workspace_url = kwargs['workspaceUrl'] + _setter("access_token", access_token) _setter("job_id", job_id) if workspace_url is not None: @@ -11716,7 +12770,13 @@ def _configure( _setter: Callable[[Any, Any], None], served_models: Sequence['outputs.ModelServingConfigServedModel'], traffic_config: Optional['outputs.ModelServingConfigTrafficConfig'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servedModels' in kwargs: + served_models = kwargs['servedModels'] + if 'trafficConfig' in kwargs: + traffic_config = kwargs['trafficConfig'] + _setter("served_models", served_models) if traffic_config is not None: _setter("traffic_config", traffic_config) @@ -11755,6 +12815,8 @@ def __key_warning(key: str): suggest = "instance_profile_arn" elif key == "scaleToZeroEnabled": suggest = "scale_to_zero_enabled" + elif key == "workloadType": + suggest = "workload_type" if suggest: pulumi.log.warn(f"Key '{key}' not found in ModelServingConfigServedModel. Access the value via the '{suggest}' property getter instead.") @@ -11774,7 +12836,8 @@ def __init__(__self__, *, environment_vars: Optional[Mapping[str, Any]] = None, instance_profile_arn: Optional[str] = None, name: Optional[str] = None, - scale_to_zero_enabled: Optional[bool] = None): + scale_to_zero_enabled: Optional[bool] = None, + workload_type: Optional[str] = None): """ :param str model_name: The name of the model in Databricks Model Registry to be served. :param str model_version: The version of the model in Databricks Model Registry to be served. @@ -11783,6 +12846,7 @@ def __init__(__self__, *, :param str instance_profile_arn: ARN of the instance profile that the served model will use to access AWS resources. :param str name: The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores. :param bool scale_to_zero_enabled: Whether the compute resources for the served model should scale down to zero. If scale-to-zero is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`. + :param str workload_type: The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. """ ModelServingConfigServedModel._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -11793,6 +12857,7 @@ def __init__(__self__, *, instance_profile_arn=instance_profile_arn, name=name, scale_to_zero_enabled=scale_to_zero_enabled, + workload_type=workload_type, ) @staticmethod def _configure( @@ -11804,7 +12869,24 @@ def _configure( instance_profile_arn: Optional[str] = None, name: Optional[str] = None, scale_to_zero_enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + workload_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'modelName' in kwargs: + model_name = kwargs['modelName'] + if 'modelVersion' in kwargs: + model_version = kwargs['modelVersion'] + if 'workloadSize' in kwargs: + workload_size = kwargs['workloadSize'] + if 'environmentVars' in kwargs: + environment_vars = kwargs['environmentVars'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'scaleToZeroEnabled' in kwargs: + scale_to_zero_enabled = kwargs['scaleToZeroEnabled'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("model_name", model_name) _setter("model_version", model_version) _setter("workload_size", workload_size) @@ -11816,6 +12898,8 @@ def _configure( _setter("name", name) if scale_to_zero_enabled is not None: _setter("scale_to_zero_enabled", scale_to_zero_enabled) + if workload_type is not None: + _setter("workload_type", workload_type) @property @pulumi.getter(name="modelName") @@ -11873,6 +12957,14 @@ def scale_to_zero_enabled(self) -> Optional[bool]: """ return pulumi.get(self, "scale_to_zero_enabled") + @property + @pulumi.getter(name="workloadType") + def workload_type(self) -> Optional[str]: + """ + The workload type of the served model. The workload type selects which type of compute to use in the endpoint. For deep learning workloads, GPU acceleration is available by selecting workload types like `GPU_SMALL` and others. See documentation for all options. The default value is `CPU`. + """ + return pulumi.get(self, "workload_type") + @pulumi.output_type class ModelServingConfigTrafficConfig(dict): @@ -11889,7 +12981,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], routes: Optional[Sequence['outputs.ModelServingConfigTrafficConfigRoute']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if routes is not None: _setter("routes", routes) @@ -11940,7 +13034,13 @@ def _configure( _setter: Callable[[Any, Any], None], served_model_name: str, traffic_percentage: int, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servedModelName' in kwargs: + served_model_name = kwargs['servedModelName'] + if 'trafficPercentage' in kwargs: + traffic_percentage = kwargs['trafficPercentage'] + _setter("served_model_name", served_model_name) _setter("traffic_percentage", traffic_percentage) @@ -11976,7 +13076,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: str, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) if value is not None: _setter("value", value) @@ -12054,7 +13156,23 @@ def _configure( directory: Optional[str] = None, storage_account_name: Optional[str] = None, tenant_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecretKey' in kwargs: + client_secret_key = kwargs['clientSecretKey'] + if 'clientSecretScope' in kwargs: + client_secret_scope = kwargs['clientSecretScope'] + if 'initializeFileSystem' in kwargs: + initialize_file_system = kwargs['initializeFileSystem'] + if 'containerName' in kwargs: + container_name = kwargs['containerName'] + if 'storageAccountName' in kwargs: + storage_account_name = kwargs['storageAccountName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + _setter("client_id", client_id) _setter("client_secret_key", client_secret_key) _setter("client_secret_scope", client_secret_scope) @@ -12166,7 +13284,21 @@ def _configure( spark_conf_prefix: Optional[str] = None, storage_resource_name: Optional[str] = None, tenant_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecretKey' in kwargs: + client_secret_key = kwargs['clientSecretKey'] + if 'clientSecretScope' in kwargs: + client_secret_scope = kwargs['clientSecretScope'] + if 'sparkConfPrefix' in kwargs: + spark_conf_prefix = kwargs['sparkConfPrefix'] + if 'storageResourceName' in kwargs: + storage_resource_name = kwargs['storageResourceName'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + _setter("client_id", client_id) _setter("client_secret_key", client_secret_key) _setter("client_secret_scope", client_secret_scope) @@ -12249,7 +13381,13 @@ def _configure( _setter: Callable[[Any, Any], None], bucket_name: str, service_account: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'serviceAccount' in kwargs: + service_account = kwargs['serviceAccount'] + _setter("bucket_name", bucket_name) if service_account is not None: _setter("service_account", service_account) @@ -12299,7 +13437,13 @@ def _configure( _setter: Callable[[Any, Any], None], bucket_name: str, instance_profile: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bucketName' in kwargs: + bucket_name = kwargs['bucketName'] + if 'instanceProfile' in kwargs: + instance_profile = kwargs['instanceProfile'] + _setter("bucket_name", bucket_name) if instance_profile is not None: _setter("instance_profile", instance_profile) @@ -12367,7 +13511,19 @@ def _configure( container_name: Optional[str] = None, directory: Optional[str] = None, storage_account_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authType' in kwargs: + auth_type = kwargs['authType'] + if 'tokenSecretKey' in kwargs: + token_secret_key = kwargs['tokenSecretKey'] + if 'tokenSecretScope' in kwargs: + token_secret_scope = kwargs['tokenSecretScope'] + if 'containerName' in kwargs: + container_name = kwargs['containerName'] + if 'storageAccountName' in kwargs: + storage_account_name = kwargs['storageAccountName'] + _setter("auth_type", auth_type) _setter("token_secret_key", token_secret_key) _setter("token_secret_scope", token_secret_scope) @@ -12453,7 +13609,15 @@ def _configure( key_alias: str, key_arn: str, key_region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyAlias' in kwargs: + key_alias = kwargs['keyAlias'] + if 'keyArn' in kwargs: + key_arn = kwargs['keyArn'] + if 'keyRegion' in kwargs: + key_region = kwargs['keyRegion'] + _setter("key_alias", key_alias) _setter("key_arn", key_arn) if key_region is not None: @@ -12516,7 +13680,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], kms_key_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'kmsKeyId' in kwargs: + kms_key_id = kwargs['kmsKeyId'] + _setter("kms_key_id", kms_key_id) @property @@ -12562,7 +13730,13 @@ def _configure( _setter: Callable[[Any, Any], None], error_message: Optional[str] = None, error_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'errorMessage' in kwargs: + error_message = kwargs['errorMessage'] + if 'errorType' in kwargs: + error_type = kwargs['errorType'] + if error_message is not None: _setter("error_message", error_message) if error_type is not None: @@ -12641,7 +13815,21 @@ def _configure( subnet_id: str, subnet_region: str, vpc_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'networkProjectId' in kwargs: + network_project_id = kwargs['networkProjectId'] + if 'podIpRangeName' in kwargs: + pod_ip_range_name = kwargs['podIpRangeName'] + if 'serviceIpRangeName' in kwargs: + service_ip_range_name = kwargs['serviceIpRangeName'] + if 'subnetId' in kwargs: + subnet_id = kwargs['subnetId'] + if 'subnetRegion' in kwargs: + subnet_region = kwargs['subnetRegion'] + if 'vpcId' in kwargs: + vpc_id = kwargs['vpcId'] + _setter("network_project_id", network_project_id) _setter("pod_ip_range_name", pod_ip_range_name) _setter("service_ip_range_name", service_ip_range_name) @@ -12732,7 +13920,13 @@ def _configure( _setter: Callable[[Any, Any], None], dataplane_relays: Sequence[str], rest_apis: Sequence[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataplaneRelays' in kwargs: + dataplane_relays = kwargs['dataplaneRelays'] + if 'restApis' in kwargs: + rest_apis = kwargs['restApis'] + _setter("dataplane_relays", dataplane_relays) _setter("rest_apis", rest_apis) @@ -12803,7 +13997,19 @@ def _configure( psc_endpoint_name: str, psc_connection_id: Optional[str] = None, service_attachment_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'endpointRegion' in kwargs: + endpoint_region = kwargs['endpointRegion'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'pscEndpointName' in kwargs: + psc_endpoint_name = kwargs['pscEndpointName'] + if 'pscConnectionId' in kwargs: + psc_connection_id = kwargs['pscConnectionId'] + if 'serviceAttachmentId' in kwargs: + service_attachment_id = kwargs['serviceAttachmentId'] + _setter("endpoint_region", endpoint_region) _setter("project_id", project_id) _setter("psc_endpoint_name", psc_endpoint_name) @@ -12868,7 +14074,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], gcp: 'outputs.MwsWorkspacesCloudResourceContainerGcp', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("gcp", gcp) @property @@ -12912,7 +14120,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], project_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + _setter("project_id", project_id) @property @@ -12963,7 +14175,15 @@ def _configure( authoritative_user_email: str, authoritative_user_full_name: str, customer_name: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authoritativeUserEmail' in kwargs: + authoritative_user_email = kwargs['authoritativeUserEmail'] + if 'authoritativeUserFullName' in kwargs: + authoritative_user_full_name = kwargs['authoritativeUserFullName'] + if 'customerName' in kwargs: + customer_name = kwargs['customerName'] + _setter("authoritative_user_email", authoritative_user_email) _setter("authoritative_user_full_name", authoritative_user_full_name) _setter("customer_name", customer_name) @@ -13023,7 +14243,15 @@ def _configure( gke_cluster_pod_ip_range: str, gke_cluster_service_ip_range: str, subnet_cidr: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gkeClusterPodIpRange' in kwargs: + gke_cluster_pod_ip_range = kwargs['gkeClusterPodIpRange'] + if 'gkeClusterServiceIpRange' in kwargs: + gke_cluster_service_ip_range = kwargs['gkeClusterServiceIpRange'] + if 'subnetCidr' in kwargs: + subnet_cidr = kwargs['subnetCidr'] + _setter("gke_cluster_pod_ip_range", gke_cluster_pod_ip_range) _setter("gke_cluster_service_ip_range", gke_cluster_service_ip_range) _setter("subnet_cidr", subnet_cidr) @@ -13082,7 +14310,13 @@ def _configure( _setter: Callable[[Any, Any], None], connectivity_type: str, master_ip_range: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectivityType' in kwargs: + connectivity_type = kwargs['connectivityType'] + if 'masterIpRange' in kwargs: + master_ip_range = kwargs['masterIpRange'] + _setter("connectivity_type", connectivity_type) _setter("master_ip_range", master_ip_range) @@ -13148,7 +14382,15 @@ def _configure( lifetime_seconds: Optional[int] = None, token_id: Optional[str] = None, token_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'lifetimeSeconds' in kwargs: + lifetime_seconds = kwargs['lifetimeSeconds'] + if 'tokenId' in kwargs: + token_id = kwargs['tokenId'] + if 'tokenValue' in kwargs: + token_value = kwargs['tokenValue'] + if comment is not None: _setter("comment", comment) if lifetime_seconds is not None: @@ -13234,7 +14476,17 @@ def _configure( group_name: Optional[str] = None, service_principal_name: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'permissionLevel' in kwargs: + permission_level = kwargs['permissionLevel'] + if 'groupName' in kwargs: + group_name = kwargs['groupName'] + if 'servicePrincipalName' in kwargs: + service_principal_name = kwargs['servicePrincipalName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + _setter("permission_level", permission_level) if group_name is not None: _setter("group_name", group_name) @@ -13393,7 +14645,43 @@ def _configure( spark_conf: Optional[Mapping[str, Any]] = None, spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if apply_policy_default_values is not None: _setter("apply_policy_default_values", apply_policy_default_values) if autoscale is not None: @@ -13566,7 +14854,13 @@ def _configure( max_workers: Optional[int] = None, min_workers: Optional[int] = None, mode: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -13652,7 +14946,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -13748,7 +15058,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -13787,7 +15103,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.PipelineClusterClusterLogConfDbfs'] = None, s3: Optional['outputs.PipelineClusterClusterLogConfS3'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -13816,7 +15134,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -13878,7 +15198,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -13971,7 +15301,15 @@ def _configure( google_service_account: Optional[str] = None, local_ssd_count: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if google_service_account is not None: @@ -14032,7 +15370,9 @@ def _configure( s3: Optional['outputs.PipelineClusterInitScriptS3'] = None, volumes: Optional['outputs.PipelineClusterInitScriptVolumes'] = None, workspace: Optional['outputs.PipelineClusterInitScriptWorkspace'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -14099,7 +15439,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14121,7 +15463,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -14142,7 +15486,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14164,7 +15510,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14227,7 +15575,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -14290,7 +15648,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14312,7 +15672,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -14337,7 +15699,9 @@ def _configure( _setter: Callable[[Any, Any], None], excludes: Optional[Sequence[str]] = None, includes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if excludes is not None: _setter("excludes", excludes) if includes is not None: @@ -14378,7 +15742,9 @@ def _configure( maven: Optional['outputs.PipelineLibraryMaven'] = None, notebook: Optional['outputs.PipelineLibraryNotebook'] = None, whl: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if file is not None: _setter("file", file) if jar is not None: @@ -14428,7 +15794,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], path: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) @property @@ -14455,7 +15823,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -14490,7 +15860,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], path: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) @property @@ -14539,7 +15911,11 @@ def _configure( _setter: Callable[[Any, Any], None], alerts: Sequence[str], email_recipients: Sequence[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'emailRecipients' in kwargs: + email_recipients = kwargs['emailRecipients'] + _setter("alerts", alerts) _setter("email_recipients", email_recipients) @@ -14596,7 +15972,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], allowed_ip_addresses: Sequence[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowedIpAddresses' in kwargs: + allowed_ip_addresses = kwargs['allowedIpAddresses'] + _setter("allowed_ip_addresses", allowed_ip_addresses) @property @@ -14674,7 +16054,21 @@ def _configure( id: Optional[str] = None, updated_at: Optional[int] = None, updated_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'activationUrl' in kwargs: + activation_url = kwargs['activationUrl'] + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'expirationTime' in kwargs: + expiration_time = kwargs['expirationTime'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if activation_url is not None: _setter("activation_url", activation_url) if created_at is not None: @@ -14759,7 +16153,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], patterns: Sequence[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("patterns", patterns) @property @@ -14802,7 +16198,13 @@ def _configure( _setter: Callable[[Any, Any], None], dns_name: str, resource_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dnsName' in kwargs: + dns_name = kwargs['dnsName'] + if 'resourceId' in kwargs: + resource_id = kwargs['resourceId'] + _setter("dns_name", dns_name) _setter("resource_id", resource_id) @@ -14900,7 +16302,23 @@ def _configure( shared_as: Optional[str] = None, start_version: Optional[int] = None, status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataObjectType' in kwargs: + data_object_type = kwargs['dataObjectType'] + if 'addedAt' in kwargs: + added_at = kwargs['addedAt'] + if 'addedBy' in kwargs: + added_by = kwargs['addedBy'] + if 'cdfEnabled' in kwargs: + cdf_enabled = kwargs['cdfEnabled'] + if 'historyDataSharingStatus' in kwargs: + history_data_sharing_status = kwargs['historyDataSharingStatus'] + if 'sharedAs' in kwargs: + shared_as = kwargs['sharedAs'] + if 'startVersion' in kwargs: + start_version = kwargs['startVersion'] + _setter("data_object_type", data_object_type) _setter("name", name) if added_at is not None: @@ -15019,7 +16437,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], values: Sequence['outputs.ShareObjectPartitionValue'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("values", values) @property @@ -15075,7 +16495,11 @@ def _configure( op: str, recipient_property_key: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'recipientPropertyKey' in kwargs: + recipient_property_key = kwargs['recipientPropertyKey'] + _setter("name", name) _setter("op", op) if recipient_property_key is not None: @@ -15125,6 +16549,8 @@ def __key_warning(key: str): suggest = "custom_body" elif key == "customSubject": suggest = "custom_subject" + elif key == "emptyResultState": + suggest = "empty_result_state" if suggest: pulumi.log.warn(f"Key '{key}' not found in SqlAlertOptions. Access the value via the '{suggest}' property getter instead.") @@ -15143,6 +16569,7 @@ def __init__(__self__, *, value: str, custom_body: Optional[str] = None, custom_subject: Optional[str] = None, + empty_result_state: Optional[str] = None, muted: Optional[bool] = None): """ :param str column: Name of column in the query result to compare in alert evaluation. @@ -15150,6 +16577,7 @@ def __init__(__self__, *, :param str value: Value used to compare in alert evaluation. :param str custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. :param str custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions. + :param str empty_result_state: State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. :param bool muted: Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered. """ SqlAlertOptions._configure( @@ -15159,6 +16587,7 @@ def __init__(__self__, *, value=value, custom_body=custom_body, custom_subject=custom_subject, + empty_result_state=empty_result_state, muted=muted, ) @staticmethod @@ -15169,8 +16598,17 @@ def _configure( value: str, custom_body: Optional[str] = None, custom_subject: Optional[str] = None, + empty_result_state: Optional[str] = None, muted: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customBody' in kwargs: + custom_body = kwargs['customBody'] + if 'customSubject' in kwargs: + custom_subject = kwargs['customSubject'] + if 'emptyResultState' in kwargs: + empty_result_state = kwargs['emptyResultState'] + _setter("column", column) _setter("op", op) _setter("value", value) @@ -15178,6 +16616,8 @@ def _configure( _setter("custom_body", custom_body) if custom_subject is not None: _setter("custom_subject", custom_subject) + if empty_result_state is not None: + _setter("empty_result_state", empty_result_state) if muted is not None: _setter("muted", muted) @@ -15221,6 +16661,14 @@ def custom_subject(self) -> Optional[str]: """ return pulumi.get(self, "custom_subject") + @property + @pulumi.getter(name="emptyResultState") + def empty_result_state(self) -> Optional[str]: + """ + State that alert evaluates to when query result is empty. Currently supported values are `unknown`, `triggered`, `ok` - check [API documentation](https://docs.databricks.com/api/workspace/alerts/create) for full list of supported values. + """ + return pulumi.get(self, "empty_result_state") + @property @pulumi.getter def muted(self) -> Optional[bool]: @@ -15245,7 +16693,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if name is not None: _setter("name", name) @@ -15282,7 +16732,9 @@ def _configure( protocol: str, host: Optional[str] = None, hostname: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) _setter("port", port) _setter("protocol", protocol) @@ -15346,7 +16798,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], custom_tags: Sequence['outputs.SqlEndpointTagsCustomTag'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + _setter("custom_tags", custom_tags) @property @@ -15370,7 +16826,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: str, value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("value", value) @@ -15406,7 +16864,9 @@ def _configure( _setter: Callable[[Any, Any], None], principal: str, privileges: Sequence[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("principal", principal) _setter("privileges", privileges) @@ -15465,6 +16925,14 @@ def __init__(__self__, *, query: Optional['outputs.SqlQueryParameterQuery'] = None, text: Optional['outputs.SqlQueryParameterText'] = None, title: Optional[str] = None): + """ + :param str name: The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block + :param 'SqlQueryParameterQueryArgs' query: The text of the query to be run. + :param str title: The text displayed in a parameter picking widget. + """ SqlQueryParameter._configure( lambda key, value: pulumi.set(__self__, key, value), name=name, @@ -15495,7 +16963,15 @@ def _configure( query: Optional['outputs.SqlQueryParameterQuery'] = None, text: Optional['outputs.SqlQueryParameterText'] = None, title: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dateRange' in kwargs: + date_range = kwargs['dateRange'] + if 'datetimeRange' in kwargs: + datetime_range = kwargs['datetimeRange'] + if 'datetimesecRange' in kwargs: + datetimesec_range = kwargs['datetimesecRange'] + _setter("name", name) if date is not None: _setter("date", date) @@ -15523,6 +16999,12 @@ def _configure( @property @pulumi.getter def name(self) -> str: + """ + The literal parameter marker that appears between double curly braces in the query text. + Parameters can have several different types. Type is specified using one of the following configuration blocks: `text`, `number`, `enum`, `query`, `date`, `datetime`, `datetimesec`, `date_range`, `datetime_range`, `datetimesec_range`. + + For `text`, `number`, `date`, `datetime`, `datetimesec` block + """ return pulumi.get(self, "name") @property @@ -15568,6 +17050,9 @@ def number(self) -> Optional['outputs.SqlQueryParameterNumber']: @property @pulumi.getter def query(self) -> Optional['outputs.SqlQueryParameterQuery']: + """ + The text of the query to be run. + """ return pulumi.get(self, "query") @property @@ -15578,6 +17063,9 @@ def text(self) -> Optional['outputs.SqlQueryParameterText']: @property @pulumi.getter def title(self) -> Optional[str]: + """ + The text displayed in a parameter picking widget. + """ return pulumi.get(self, "title") @@ -15585,6 +17073,9 @@ def title(self) -> Optional[str]: class SqlQueryParameterDate(dict): def __init__(__self__, *, value: str): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterDate._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -15593,12 +17084,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> str: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @@ -15607,6 +17103,9 @@ class SqlQueryParameterDateRange(dict): def __init__(__self__, *, range: Optional['outputs.SqlQueryParameterDateRangeRange'] = None, value: Optional[str] = None): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterDateRange._configure( lambda key, value: pulumi.set(__self__, key, value), range=range, @@ -15617,7 +17116,9 @@ def _configure( _setter: Callable[[Any, Any], None], range: Optional['outputs.SqlQueryParameterDateRangeRange'] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if range is not None: _setter("range", range) if value is not None: @@ -15631,6 +17132,9 @@ def range(self) -> Optional['outputs.SqlQueryParameterDateRangeRange']: @property @pulumi.getter def value(self) -> Optional[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @@ -15649,7 +17153,9 @@ def _configure( _setter: Callable[[Any, Any], None], end: str, start: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("end", end) _setter("start", start) @@ -15668,6 +17174,9 @@ def start(self) -> str: class SqlQueryParameterDatetime(dict): def __init__(__self__, *, value: str): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterDatetime._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -15676,12 +17185,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> str: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @@ -15690,6 +17204,9 @@ class SqlQueryParameterDatetimeRange(dict): def __init__(__self__, *, range: Optional['outputs.SqlQueryParameterDatetimeRangeRange'] = None, value: Optional[str] = None): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterDatetimeRange._configure( lambda key, value: pulumi.set(__self__, key, value), range=range, @@ -15700,7 +17217,9 @@ def _configure( _setter: Callable[[Any, Any], None], range: Optional['outputs.SqlQueryParameterDatetimeRangeRange'] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if range is not None: _setter("range", range) if value is not None: @@ -15714,6 +17233,9 @@ def range(self) -> Optional['outputs.SqlQueryParameterDatetimeRangeRange']: @property @pulumi.getter def value(self) -> Optional[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @@ -15732,7 +17254,9 @@ def _configure( _setter: Callable[[Any, Any], None], end: str, start: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("end", end) _setter("start", start) @@ -15751,6 +17275,9 @@ def start(self) -> str: class SqlQueryParameterDatetimesec(dict): def __init__(__self__, *, value: str): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterDatetimesec._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -15759,12 +17286,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> str: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @@ -15773,6 +17305,9 @@ class SqlQueryParameterDatetimesecRange(dict): def __init__(__self__, *, range: Optional['outputs.SqlQueryParameterDatetimesecRangeRange'] = None, value: Optional[str] = None): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterDatetimesecRange._configure( lambda key, value: pulumi.set(__self__, key, value), range=range, @@ -15783,7 +17318,9 @@ def _configure( _setter: Callable[[Any, Any], None], range: Optional['outputs.SqlQueryParameterDatetimesecRangeRange'] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if range is not None: _setter("range", range) if value is not None: @@ -15797,6 +17334,9 @@ def range(self) -> Optional['outputs.SqlQueryParameterDatetimesecRangeRange']: @property @pulumi.getter def value(self) -> Optional[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @@ -15815,7 +17355,9 @@ def _configure( _setter: Callable[[Any, Any], None], end: str, start: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("end", end) _setter("start", start) @@ -15837,6 +17379,9 @@ def __init__(__self__, *, multiple: Optional['outputs.SqlQueryParameterEnumMultiple'] = None, value: Optional[str] = None, values: Optional[Sequence[str]] = None): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterEnum._configure( lambda key, value: pulumi.set(__self__, key, value), options=options, @@ -15851,7 +17396,9 @@ def _configure( multiple: Optional['outputs.SqlQueryParameterEnumMultiple'] = None, value: Optional[str] = None, values: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("options", options) if multiple is not None: _setter("multiple", multiple) @@ -15873,6 +17420,9 @@ def multiple(self) -> Optional['outputs.SqlQueryParameterEnumMultiple']: @property @pulumi.getter def value(self) -> Optional[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @property @@ -15899,7 +17449,9 @@ def _configure( prefix: str, separator: str, suffix: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("prefix", prefix) _setter("separator", separator) _setter("suffix", suffix) @@ -15924,6 +17476,9 @@ def suffix(self) -> str: class SqlQueryParameterNumber(dict): def __init__(__self__, *, value: float): + """ + :param float value: The default value for this parameter. + """ SqlQueryParameterNumber._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -15932,12 +17487,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: float, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> float: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @@ -15965,6 +17525,9 @@ def __init__(__self__, *, multiple: Optional['outputs.SqlQueryParameterQueryMultiple'] = None, value: Optional[str] = None, values: Optional[Sequence[str]] = None): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterQuery._configure( lambda key, value: pulumi.set(__self__, key, value), query_id=query_id, @@ -15979,7 +17542,11 @@ def _configure( multiple: Optional['outputs.SqlQueryParameterQueryMultiple'] = None, value: Optional[str] = None, values: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + _setter("query_id", query_id) if multiple is not None: _setter("multiple", multiple) @@ -16001,6 +17568,9 @@ def multiple(self) -> Optional['outputs.SqlQueryParameterQueryMultiple']: @property @pulumi.getter def value(self) -> Optional[str]: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @property @@ -16027,7 +17597,9 @@ def _configure( prefix: str, separator: str, suffix: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("prefix", prefix) _setter("separator", separator) _setter("suffix", suffix) @@ -16052,6 +17624,9 @@ def suffix(self) -> str: class SqlQueryParameterText(dict): def __init__(__self__, *, value: str): + """ + :param str value: The default value for this parameter. + """ SqlQueryParameterText._configure( lambda key, value: pulumi.set(__self__, key, value), value=value, @@ -16060,12 +17635,17 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("value", value) @property @pulumi.getter def value(self) -> str: + """ + The default value for this parameter. + """ return pulumi.get(self, "value") @@ -16087,7 +17667,9 @@ def _configure( continuous: Optional['outputs.SqlQueryScheduleContinuous'] = None, daily: Optional['outputs.SqlQueryScheduleDaily'] = None, weekly: Optional['outputs.SqlQueryScheduleWeekly'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if continuous is not None: _setter("continuous", continuous) if daily is not None: @@ -16145,7 +17727,13 @@ def _configure( _setter: Callable[[Any, Any], None], interval_seconds: int, until_date: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalSeconds' in kwargs: + interval_seconds = kwargs['intervalSeconds'] + if 'untilDate' in kwargs: + until_date = kwargs['untilDate'] + _setter("interval_seconds", interval_seconds) if until_date is not None: _setter("until_date", until_date) @@ -16200,7 +17788,15 @@ def _configure( interval_days: int, time_of_day: str, until_date: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'intervalDays' in kwargs: + interval_days = kwargs['intervalDays'] + if 'timeOfDay' in kwargs: + time_of_day = kwargs['timeOfDay'] + if 'untilDate' in kwargs: + until_date = kwargs['untilDate'] + _setter("interval_days", interval_days) _setter("time_of_day", time_of_day) if until_date is not None: @@ -16266,7 +17862,17 @@ def _configure( interval_weeks: int, time_of_day: str, until_date: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dayOfWeek' in kwargs: + day_of_week = kwargs['dayOfWeek'] + if 'intervalWeeks' in kwargs: + interval_weeks = kwargs['intervalWeeks'] + if 'timeOfDay' in kwargs: + time_of_day = kwargs['timeOfDay'] + if 'untilDate' in kwargs: + until_date = kwargs['untilDate'] + _setter("day_of_week", day_of_week) _setter("interval_weeks", interval_weeks) _setter("time_of_day", time_of_day) @@ -16321,7 +17927,9 @@ def _configure( comment: Optional[str] = None, nullable: Optional[bool] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("name", name) if comment is not None: _setter("comment", comment) @@ -16407,7 +18015,11 @@ def _configure( title: Optional[str] = None, value: Optional[str] = None, values: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'mapTo' in kwargs: + map_to = kwargs['mapTo'] + _setter("name", name) _setter("type", type) if map_to is not None: @@ -16499,7 +18111,19 @@ def _configure( auto_height: Optional[bool] = None, pos_x: Optional[int] = None, pos_y: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sizeX' in kwargs: + size_x = kwargs['sizeX'] + if 'sizeY' in kwargs: + size_y = kwargs['sizeY'] + if 'autoHeight' in kwargs: + auto_height = kwargs['autoHeight'] + if 'posX' in kwargs: + pos_x = kwargs['posX'] + if 'posY' in kwargs: + pos_y = kwargs['posY'] + _setter("size_x", size_x) _setter("size_y", size_y) if auto_height is not None: @@ -16569,7 +18193,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], role_arn: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'roleArn' in kwargs: + role_arn = kwargs['roleArn'] + _setter("role_arn", role_arn) @property @@ -16628,7 +18256,15 @@ def _configure( access_connector_id: str, credential_id: Optional[str] = None, managed_identity_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessConnectorId' in kwargs: + access_connector_id = kwargs['accessConnectorId'] + if 'credentialId' in kwargs: + credential_id = kwargs['credentialId'] + if 'managedIdentityId' in kwargs: + managed_identity_id = kwargs['managedIdentityId'] + _setter("access_connector_id", access_connector_id) if credential_id is not None: _setter("credential_id", credential_id) @@ -16703,7 +18339,15 @@ def _configure( application_id: str, client_secret: str, directory_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'directoryId' in kwargs: + directory_id = kwargs['directoryId'] + _setter("application_id", application_id) _setter("client_secret", client_secret) _setter("directory_id", directory_id) @@ -16768,7 +18412,11 @@ def _configure( _setter: Callable[[Any, Any], None], credential_id: Optional[str] = None, email: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'credentialId' in kwargs: + credential_id = kwargs['credentialId'] + if credential_id is not None: _setter("credential_id", credential_id) if email is not None: @@ -16828,7 +18476,13 @@ def _configure( email: str, private_key: str, private_key_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'privateKey' in kwargs: + private_key = kwargs['privateKey'] + if 'privateKeyId' in kwargs: + private_key_id = kwargs['privateKeyId'] + _setter("email", email) _setter("private_key", private_key) _setter("private_key_id", private_key_id) @@ -16923,7 +18577,23 @@ def _configure( type_json: Optional[str] = None, type_precision: Optional[int] = None, type_scale: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'typeName' in kwargs: + type_name = kwargs['typeName'] + if 'typeText' in kwargs: + type_text = kwargs['typeText'] + if 'partitionIndex' in kwargs: + partition_index = kwargs['partitionIndex'] + if 'typeIntervalType' in kwargs: + type_interval_type = kwargs['typeIntervalType'] + if 'typeJson' in kwargs: + type_json = kwargs['typeJson'] + if 'typePrecision' in kwargs: + type_precision = kwargs['typePrecision'] + if 'typeScale' in kwargs: + type_scale = kwargs['typeScale'] + _setter("name", name) _setter("position", position) _setter("type_name", type_name) @@ -17157,7 +18827,87 @@ def _configure( state_message: Optional[str] = None, terminate_time: Optional[int] = None, termination_reason: Optional['outputs.GetClusterClusterInfoTerminationReasonResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultTags' in kwargs: + default_tags = kwargs['defaultTags'] + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterCores' in kwargs: + cluster_cores = kwargs['clusterCores'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterLogStatus' in kwargs: + cluster_log_status = kwargs['clusterLogStatus'] + if 'clusterMemoryMb' in kwargs: + cluster_memory_mb = kwargs['clusterMemoryMb'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'clusterSource' in kwargs: + cluster_source = kwargs['clusterSource'] + if 'creatorUserName' in kwargs: + creator_user_name = kwargs['creatorUserName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'jdbcPort' in kwargs: + jdbc_port = kwargs['jdbcPort'] + if 'lastActivityTime' in kwargs: + last_activity_time = kwargs['lastActivityTime'] + if 'lastStateLossTime' in kwargs: + last_state_loss_time = kwargs['lastStateLossTime'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkContextId' in kwargs: + spark_context_id = kwargs['sparkContextId'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'startTime' in kwargs: + start_time = kwargs['startTime'] + if 'stateMessage' in kwargs: + state_message = kwargs['stateMessage'] + if 'terminateTime' in kwargs: + terminate_time = kwargs['terminateTime'] + if 'terminationReason' in kwargs: + termination_reason = kwargs['terminationReason'] + _setter("default_tags", default_tags) _setter("driver_instance_pool_id", driver_instance_pool_id) _setter("spark_version", spark_version) @@ -17526,7 +19276,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -17576,7 +19332,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -17653,7 +19425,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -17692,7 +19470,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.GetClusterClusterInfoClusterLogConfDbfsResult'] = None, s3: Optional['outputs.GetClusterClusterInfoClusterLogConfS3Result'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -17721,7 +19501,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -17760,7 +19542,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -17826,7 +19618,13 @@ def _configure( _setter: Callable[[Any, Any], None], last_attempted: Optional[int] = None, last_exception: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'lastAttempted' in kwargs: + last_attempted = kwargs['lastAttempted'] + if 'lastException' in kwargs: + last_exception = kwargs['lastException'] + if last_attempted is not None: _setter("last_attempted", last_attempted) if last_exception is not None: @@ -17858,7 +19656,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.GetClusterClusterInfoDockerImageBasicAuthResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -17889,7 +19691,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -17934,7 +19738,23 @@ def _configure( private_ip: Optional[str] = None, public_dns: Optional[str] = None, start_timestamp: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hostPrivateIp' in kwargs: + host_private_ip = kwargs['hostPrivateIp'] + if 'instanceId' in kwargs: + instance_id = kwargs['instanceId'] + if 'nodeAwsAttributes' in kwargs: + node_aws_attributes = kwargs['nodeAwsAttributes'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'privateIp' in kwargs: + private_ip = kwargs['privateIp'] + if 'publicDns' in kwargs: + public_dns = kwargs['publicDns'] + if 'startTimestamp' in kwargs: + start_timestamp = kwargs['startTimestamp'] + if host_private_ip is not None: _setter("host_private_ip", host_private_ip) if instance_id is not None: @@ -17998,7 +19818,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], is_spot: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'isSpot' in kwargs: + is_spot = kwargs['isSpot'] + if is_spot is not None: _setter("is_spot", is_spot) @@ -18038,7 +19862,23 @@ def _configure( private_ip: Optional[str] = None, public_dns: Optional[str] = None, start_timestamp: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hostPrivateIp' in kwargs: + host_private_ip = kwargs['hostPrivateIp'] + if 'instanceId' in kwargs: + instance_id = kwargs['instanceId'] + if 'nodeAwsAttributes' in kwargs: + node_aws_attributes = kwargs['nodeAwsAttributes'] + if 'nodeId' in kwargs: + node_id = kwargs['nodeId'] + if 'privateIp' in kwargs: + private_ip = kwargs['privateIp'] + if 'publicDns' in kwargs: + public_dns = kwargs['publicDns'] + if 'startTimestamp' in kwargs: + start_timestamp = kwargs['startTimestamp'] + if host_private_ip is not None: _setter("host_private_ip", host_private_ip) if instance_id is not None: @@ -18102,7 +19942,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], is_spot: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'isSpot' in kwargs: + is_spot = kwargs['isSpot'] + if is_spot is not None: _setter("is_spot", is_spot) @@ -18139,7 +19983,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -18214,7 +20070,9 @@ def _configure( s3: Optional['outputs.GetClusterClusterInfoInitScriptS3Result'] = None, volumes: Optional['outputs.GetClusterClusterInfoInitScriptVolumesResult'] = None, workspace: Optional['outputs.GetClusterClusterInfoInitScriptWorkspaceResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -18278,7 +20136,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -18300,7 +20160,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -18321,7 +20183,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -18343,7 +20207,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -18383,7 +20249,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -18446,7 +20322,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -18468,7 +20346,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -18496,7 +20376,9 @@ def _configure( code: Optional[str] = None, parameters: Optional[Mapping[str, Any]] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if code is not None: _setter("code", code) if parameters is not None: @@ -18538,7 +20420,11 @@ def _configure( _setter: Callable[[Any, Any], None], file_size: Optional[int] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'fileSize' in kwargs: + file_size = kwargs['fileSize'] + if file_size is not None: _setter("file_size", file_size) if path is not None: @@ -18621,7 +20507,41 @@ def _configure( preloaded_spark_versions: Optional[Sequence[str]] = None, state: Optional[str] = None, stats: Optional['outputs.GetInstancePoolPoolInfoStatsResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'defaultTags' in kwargs: + default_tags = kwargs['defaultTags'] + if 'idleInstanceAutoterminationMinutes' in kwargs: + idle_instance_autotermination_minutes = kwargs['idleInstanceAutoterminationMinutes'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'instancePoolName' in kwargs: + instance_pool_name = kwargs['instancePoolName'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'diskSpec' in kwargs: + disk_spec = kwargs['diskSpec'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'instancePoolFleetAttributes' in kwargs: + instance_pool_fleet_attributes = kwargs['instancePoolFleetAttributes'] + if 'maxCapacity' in kwargs: + max_capacity = kwargs['maxCapacity'] + if 'minIdleInstances' in kwargs: + min_idle_instances = kwargs['minIdleInstances'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'preloadedDockerImages' in kwargs: + preloaded_docker_images = kwargs['preloadedDockerImages'] + if 'preloadedSparkVersions' in kwargs: + preloaded_spark_versions = kwargs['preloadedSparkVersions'] + _setter("default_tags", default_tags) _setter("idle_instance_autotermination_minutes", idle_instance_autotermination_minutes) _setter("instance_pool_id", instance_pool_id) @@ -18764,7 +20684,13 @@ def _configure( zone_id: str, availability: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + _setter("zone_id", zone_id) if availability is not None: _setter("availability", availability) @@ -18802,7 +20728,11 @@ def _configure( _setter: Callable[[Any, Any], None], availability: Optional[str] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if spot_bid_max_price is not None: @@ -18837,7 +20767,15 @@ def _configure( disk_count: Optional[int] = None, disk_size: Optional[int] = None, disk_type: Optional['outputs.GetInstancePoolPoolInfoDiskSpecDiskTypeResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'diskCount' in kwargs: + disk_count = kwargs['diskCount'] + if 'diskSize' in kwargs: + disk_size = kwargs['diskSize'] + if 'diskType' in kwargs: + disk_type = kwargs['diskType'] + if disk_count is not None: _setter("disk_count", disk_count) if disk_size is not None: @@ -18876,7 +20814,13 @@ def _configure( _setter: Callable[[Any, Any], None], azure_disk_volume_type: Optional[str] = None, ebs_volume_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'azureDiskVolumeType' in kwargs: + azure_disk_volume_type = kwargs['azureDiskVolumeType'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if azure_disk_volume_type is not None: _setter("azure_disk_volume_type", azure_disk_volume_type) if ebs_volume_type is not None: @@ -18908,7 +20852,13 @@ def _configure( _setter: Callable[[Any, Any], None], gcp_availability: Optional[str] = None, local_ssd_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'gcpAvailability' in kwargs: + gcp_availability = kwargs['gcpAvailability'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if gcp_availability is not None: _setter("gcp_availability", gcp_availability) if local_ssd_count is not None: @@ -18943,7 +20893,15 @@ def _configure( launch_template_overrides: Sequence['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeLaunchTemplateOverrideResult'], fleet_on_demand_option: Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetOnDemandOptionResult'] = None, fleet_spot_option: Optional['outputs.GetInstancePoolPoolInfoInstancePoolFleetAttributeFleetSpotOptionResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'launchTemplateOverrides' in kwargs: + launch_template_overrides = kwargs['launchTemplateOverrides'] + if 'fleetOnDemandOption' in kwargs: + fleet_on_demand_option = kwargs['fleetOnDemandOption'] + if 'fleetSpotOption' in kwargs: + fleet_spot_option = kwargs['fleetSpotOption'] + _setter("launch_template_overrides", launch_template_overrides) if fleet_on_demand_option is not None: _setter("fleet_on_demand_option", fleet_on_demand_option) @@ -18981,7 +20939,13 @@ def _configure( _setter: Callable[[Any, Any], None], allocation_strategy: str, instance_pools_to_use_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allocationStrategy' in kwargs: + allocation_strategy = kwargs['allocationStrategy'] + if 'instancePoolsToUseCount' in kwargs: + instance_pools_to_use_count = kwargs['instancePoolsToUseCount'] + _setter("allocation_strategy", allocation_strategy) if instance_pools_to_use_count is not None: _setter("instance_pools_to_use_count", instance_pools_to_use_count) @@ -19012,7 +20976,13 @@ def _configure( _setter: Callable[[Any, Any], None], allocation_strategy: str, instance_pools_to_use_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allocationStrategy' in kwargs: + allocation_strategy = kwargs['allocationStrategy'] + if 'instancePoolsToUseCount' in kwargs: + instance_pools_to_use_count = kwargs['instancePoolsToUseCount'] + _setter("allocation_strategy", allocation_strategy) if instance_pools_to_use_count is not None: _setter("instance_pools_to_use_count", instance_pools_to_use_count) @@ -19043,7 +21013,13 @@ def _configure( _setter: Callable[[Any, Any], None], availability_zone: str, instance_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availabilityZone' in kwargs: + availability_zone = kwargs['availabilityZone'] + if 'instanceType' in kwargs: + instance_type = kwargs['instanceType'] + _setter("availability_zone", availability_zone) _setter("instance_type", instance_type) @@ -19073,7 +21049,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.GetInstancePoolPoolInfoPreloadedDockerImageBasicAuthResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -19104,7 +21084,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -19140,7 +21122,17 @@ def _configure( pending_idle_count: Optional[int] = None, pending_used_count: Optional[int] = None, used_count: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'idleCount' in kwargs: + idle_count = kwargs['idleCount'] + if 'pendingIdleCount' in kwargs: + pending_idle_count = kwargs['pendingIdleCount'] + if 'pendingUsedCount' in kwargs: + pending_used_count = kwargs['pendingUsedCount'] + if 'usedCount' in kwargs: + used_count = kwargs['usedCount'] + if idle_count is not None: _setter("idle_count", idle_count) if pending_idle_count is not None: @@ -19195,7 +21187,17 @@ def _configure( creator_user_name: Optional[str] = None, job_id: Optional[int] = None, settings: Optional['outputs.GetJobJobSettingsSettingsResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'runAsUserName' in kwargs: + run_as_user_name = kwargs['runAsUserName'] + if 'createdTime' in kwargs: + created_time = kwargs['createdTime'] + if 'creatorUserName' in kwargs: + creator_user_name = kwargs['creatorUserName'] + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + _setter("run_as_user_name", run_as_user_name) if created_time is not None: _setter("created_time", created_time) @@ -19343,7 +21345,51 @@ def _configure( timeout_seconds: Optional[int] = None, trigger: Optional['outputs.GetJobJobSettingsSettingsTriggerResult'] = None, webhook_notifications: Optional['outputs.GetJobJobSettingsSettingsWebhookNotificationsResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dbtTask' in kwargs: + dbt_task = kwargs['dbtTask'] + if 'emailNotifications' in kwargs: + email_notifications = kwargs['emailNotifications'] + if 'existingClusterId' in kwargs: + existing_cluster_id = kwargs['existingClusterId'] + if 'gitSource' in kwargs: + git_source = kwargs['gitSource'] + if 'jobClusters' in kwargs: + job_clusters = kwargs['jobClusters'] + if 'maxConcurrentRuns' in kwargs: + max_concurrent_runs = kwargs['maxConcurrentRuns'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'minRetryIntervalMillis' in kwargs: + min_retry_interval_millis = kwargs['minRetryIntervalMillis'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if 'notebookTask' in kwargs: + notebook_task = kwargs['notebookTask'] + if 'notificationSettings' in kwargs: + notification_settings = kwargs['notificationSettings'] + if 'pipelineTask' in kwargs: + pipeline_task = kwargs['pipelineTask'] + if 'pythonWheelTask' in kwargs: + python_wheel_task = kwargs['pythonWheelTask'] + if 'retryOnTimeout' in kwargs: + retry_on_timeout = kwargs['retryOnTimeout'] + if 'runAs' in kwargs: + run_as = kwargs['runAs'] + if 'runJobTask' in kwargs: + run_job_task = kwargs['runJobTask'] + if 'sparkJarTask' in kwargs: + spark_jar_task = kwargs['sparkJarTask'] + if 'sparkPythonTask' in kwargs: + spark_python_task = kwargs['sparkPythonTask'] + if 'sparkSubmitTask' in kwargs: + spark_submit_task = kwargs['sparkSubmitTask'] + if 'timeoutSeconds' in kwargs: + timeout_seconds = kwargs['timeoutSeconds'] + if 'webhookNotifications' in kwargs: + webhook_notifications = kwargs['webhookNotifications'] + _setter("format", format) if computes is not None: _setter("computes", computes) @@ -19594,7 +21640,11 @@ def _configure( _setter: Callable[[Any, Any], None], compute_key: Optional[str] = None, spec: Optional['outputs.GetJobJobSettingsSettingsComputeSpecResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'computeKey' in kwargs: + compute_key = kwargs['computeKey'] + if compute_key is not None: _setter("compute_key", compute_key) if spec is not None: @@ -19623,7 +21673,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], kind: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if kind is not None: _setter("kind", kind) @@ -19645,7 +21697,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + if pause_status is not None: _setter("pause_status", pause_status) @@ -19682,7 +21738,15 @@ def _configure( project_directory: Optional[str] = None, schema: Optional[str] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'profilesDirectory' in kwargs: + profiles_directory = kwargs['profilesDirectory'] + if 'projectDirectory' in kwargs: + project_directory = kwargs['projectDirectory'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + _setter("commands", commands) if catalog is not None: _setter("catalog", catalog) @@ -19753,7 +21817,21 @@ def _configure( on_failures: Optional[Sequence[str]] = None, on_starts: Optional[Sequence[str]] = None, on_successes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_skipped_runs is not None: @@ -19825,7 +21903,11 @@ def _configure( job_source: Optional['outputs.GetJobJobSettingsSettingsGitSourceJobSourceResult'] = None, provider: Optional[str] = None, tag: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobSource' in kwargs: + job_source = kwargs['jobSource'] + _setter("url", url) if branch is not None: _setter("branch", branch) @@ -19887,7 +21969,15 @@ def _configure( import_from_git_branch: str, job_config_path: str, dirty_state: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'importFromGitBranch' in kwargs: + import_from_git_branch = kwargs['importFromGitBranch'] + if 'jobConfigPath' in kwargs: + job_config_path = kwargs['jobConfigPath'] + if 'dirtyState' in kwargs: + dirty_state = kwargs['dirtyState'] + _setter("import_from_git_branch", import_from_git_branch) _setter("job_config_path", job_config_path) if dirty_state is not None: @@ -19921,7 +22011,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rules: Sequence['outputs.GetJobJobSettingsSettingsHealthRuleResult'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rules", rules) @property @@ -19948,7 +22040,9 @@ def _configure( metric: Optional[str] = None, op: Optional[str] = None, value: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if metric is not None: _setter("metric", metric) if op is not None: @@ -19987,7 +22081,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_cluster_key: Optional[str] = None, new_cluster: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobClusterKey' in kwargs: + job_cluster_key = kwargs['jobClusterKey'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if job_cluster_key is not None: _setter("job_cluster_key", job_cluster_key) if new_cluster is not None: @@ -20103,7 +22203,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("driver_instance_pool_id", driver_instance_pool_id) _setter("driver_node_type_id", driver_node_type_id) _setter("enable_elastic_disk", enable_elastic_disk) @@ -20324,7 +22484,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -20374,7 +22540,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -20451,7 +22633,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -20490,7 +22678,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfDbfsResult'] = None, s3: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3Result'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -20519,7 +22709,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -20558,7 +22750,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -20627,7 +22829,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoResult', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -20664,7 +22874,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -20695,7 +22911,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuthResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -20726,7 +22946,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -20768,7 +22990,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -20843,7 +23077,9 @@ def _configure( s3: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptS3Result'] = None, volumes: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptVolumesResult'] = None, workspace: Optional['outputs.GetJobJobSettingsSettingsJobClusterNewClusterInitScriptWorkspaceResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -20907,7 +23143,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -20929,7 +23167,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -20950,7 +23190,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -20972,7 +23214,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -21012,7 +23256,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -21075,7 +23329,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -21097,7 +23353,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -21119,7 +23377,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'outputs.GetJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClientsResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -21143,7 +23403,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -21187,7 +23449,9 @@ def _configure( maven: Optional['outputs.GetJobJobSettingsSettingsLibraryMavenResult'] = None, pypi: Optional['outputs.GetJobJobSettingsSettingsLibraryPypiResult'] = None, whl: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -21247,7 +23511,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -21281,7 +23547,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -21319,7 +23587,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -21434,7 +23704,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("driver_instance_pool_id", driver_instance_pool_id) _setter("driver_node_type_id", driver_node_type_id) _setter("enable_elastic_disk", enable_elastic_disk) @@ -21655,7 +23985,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -21705,7 +24041,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -21782,7 +24134,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -21821,7 +24179,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfDbfsResult'] = None, s3: Optional['outputs.GetJobJobSettingsSettingsNewClusterClusterLogConfS3Result'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -21850,7 +24210,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -21889,7 +24251,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -21958,7 +24330,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'outputs.GetJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfoResult', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -21995,7 +24375,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -22026,7 +24412,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.GetJobJobSettingsSettingsNewClusterDockerImageBasicAuthResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -22057,7 +24447,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -22099,7 +24491,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -22174,7 +24578,9 @@ def _configure( s3: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptS3Result'] = None, volumes: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptVolumesResult'] = None, workspace: Optional['outputs.GetJobJobSettingsSettingsNewClusterInitScriptWorkspaceResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -22238,7 +24644,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22260,7 +24668,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -22281,7 +24691,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22303,7 +24715,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22343,7 +24757,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -22406,7 +24830,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22428,7 +24854,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -22450,7 +24878,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'outputs.GetJobJobSettingsSettingsNewClusterWorkloadTypeClientsResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -22474,7 +24904,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -22509,7 +24941,13 @@ def _configure( notebook_path: str, base_parameters: Optional[Mapping[str, Any]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'baseParameters' in kwargs: + base_parameters = kwargs['baseParameters'] + _setter("notebook_path", notebook_path) if base_parameters is not None: _setter("base_parameters", base_parameters) @@ -22547,7 +24985,13 @@ def _configure( _setter: Callable[[Any, Any], None], no_alert_for_canceled_runs: Optional[bool] = None, no_alert_for_skipped_runs: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'noAlertForCanceledRuns' in kwargs: + no_alert_for_canceled_runs = kwargs['noAlertForCanceledRuns'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if no_alert_for_canceled_runs is not None: _setter("no_alert_for_canceled_runs", no_alert_for_canceled_runs) if no_alert_for_skipped_runs is not None: @@ -22582,7 +25026,9 @@ def _configure( _setter: Callable[[Any, Any], None], default: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if default is not None: _setter("default", default) if name is not None: @@ -22617,7 +25063,13 @@ def _configure( _setter: Callable[[Any, Any], None], pipeline_id: str, full_refresh: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'fullRefresh' in kwargs: + full_refresh = kwargs['fullRefresh'] + _setter("pipeline_id", pipeline_id) if full_refresh is not None: _setter("full_refresh", full_refresh) @@ -22654,7 +25106,15 @@ def _configure( named_parameters: Optional[Mapping[str, Any]] = None, package_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'entryPoint' in kwargs: + entry_point = kwargs['entryPoint'] + if 'namedParameters' in kwargs: + named_parameters = kwargs['namedParameters'] + if 'packageName' in kwargs: + package_name = kwargs['packageName'] + if entry_point is not None: _setter("entry_point", entry_point) if named_parameters is not None: @@ -22687,13 +25147,25 @@ def parameters(self) -> Optional[Sequence[str]]: @pulumi.output_type class GetJobJobSettingsSettingsQueueResult(dict): - def __init__(__self__): - pass + def __init__(__self__, *, + enabled: bool): + GetJobJobSettingsSettingsQueueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + ) @staticmethod def _configure( _setter: Callable[[Any, Any], None], - opts: Optional[pulumi.ResourceOptions]=None): - pass + enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> bool: + return pulumi.get(self, "enabled") @pulumi.output_type @@ -22711,7 +25183,13 @@ def _configure( _setter: Callable[[Any, Any], None], service_principal_name: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servicePrincipalName' in kwargs: + service_principal_name = kwargs['servicePrincipalName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if service_principal_name is not None: _setter("service_principal_name", service_principal_name) if user_name is not None: @@ -22743,7 +25221,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_id: int, job_parameters: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'jobParameters' in kwargs: + job_parameters = kwargs['jobParameters'] + _setter("job_id", job_id) if job_parameters is not None: _setter("job_parameters", job_parameters) @@ -22777,7 +25261,15 @@ def _configure( quartz_cron_expression: str, timezone_id: str, pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'quartzCronExpression' in kwargs: + quartz_cron_expression = kwargs['quartzCronExpression'] + if 'timezoneId' in kwargs: + timezone_id = kwargs['timezoneId'] + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + _setter("quartz_cron_expression", quartz_cron_expression) _setter("timezone_id", timezone_id) if pause_status is not None: @@ -22817,7 +25309,13 @@ def _configure( jar_uri: Optional[str] = None, main_class_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jarUri' in kwargs: + jar_uri = kwargs['jarUri'] + if 'mainClassName' in kwargs: + main_class_name = kwargs['mainClassName'] + if jar_uri is not None: _setter("jar_uri", jar_uri) if main_class_name is not None: @@ -22859,7 +25357,11 @@ def _configure( python_file: str, parameters: Optional[Sequence[str]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pythonFile' in kwargs: + python_file = kwargs['pythonFile'] + _setter("python_file", python_file) if parameters is not None: _setter("parameters", parameters) @@ -22894,7 +25396,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if parameters is not None: _setter("parameters", parameters) @@ -22991,7 +25495,55 @@ def _configure( sql_task: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskResult'] = None, task_key: Optional[str] = None, timeout_seconds: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'retryOnTimeout' in kwargs: + retry_on_timeout = kwargs['retryOnTimeout'] + if 'computeKey' in kwargs: + compute_key = kwargs['computeKey'] + if 'conditionTask' in kwargs: + condition_task = kwargs['conditionTask'] + if 'dbtTask' in kwargs: + dbt_task = kwargs['dbtTask'] + if 'dependsOns' in kwargs: + depends_ons = kwargs['dependsOns'] + if 'emailNotifications' in kwargs: + email_notifications = kwargs['emailNotifications'] + if 'existingClusterId' in kwargs: + existing_cluster_id = kwargs['existingClusterId'] + if 'jobClusterKey' in kwargs: + job_cluster_key = kwargs['jobClusterKey'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'minRetryIntervalMillis' in kwargs: + min_retry_interval_millis = kwargs['minRetryIntervalMillis'] + if 'newCluster' in kwargs: + new_cluster = kwargs['newCluster'] + if 'notebookTask' in kwargs: + notebook_task = kwargs['notebookTask'] + if 'notificationSettings' in kwargs: + notification_settings = kwargs['notificationSettings'] + if 'pipelineTask' in kwargs: + pipeline_task = kwargs['pipelineTask'] + if 'pythonWheelTask' in kwargs: + python_wheel_task = kwargs['pythonWheelTask'] + if 'runIf' in kwargs: + run_if = kwargs['runIf'] + if 'runJobTask' in kwargs: + run_job_task = kwargs['runJobTask'] + if 'sparkJarTask' in kwargs: + spark_jar_task = kwargs['sparkJarTask'] + if 'sparkPythonTask' in kwargs: + spark_python_task = kwargs['sparkPythonTask'] + if 'sparkSubmitTask' in kwargs: + spark_submit_task = kwargs['sparkSubmitTask'] + if 'sqlTask' in kwargs: + sql_task = kwargs['sqlTask'] + if 'taskKey' in kwargs: + task_key = kwargs['taskKey'] + if 'timeoutSeconds' in kwargs: + timeout_seconds = kwargs['timeoutSeconds'] + _setter("retry_on_timeout", retry_on_timeout) if compute_key is not None: _setter("compute_key", compute_key) @@ -23193,7 +25745,9 @@ def _configure( left: Optional[str] = None, op: Optional[str] = None, right: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if left is not None: _setter("left", left) if op is not None: @@ -23244,7 +25798,15 @@ def _configure( project_directory: Optional[str] = None, schema: Optional[str] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'profilesDirectory' in kwargs: + profiles_directory = kwargs['profilesDirectory'] + if 'projectDirectory' in kwargs: + project_directory = kwargs['projectDirectory'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + _setter("commands", commands) if catalog is not None: _setter("catalog", catalog) @@ -23303,7 +25865,11 @@ def _configure( _setter: Callable[[Any, Any], None], task_key: str, outcome: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'taskKey' in kwargs: + task_key = kwargs['taskKey'] + _setter("task_key", task_key) if outcome is not None: _setter("outcome", outcome) @@ -23346,7 +25912,21 @@ def _configure( on_failures: Optional[Sequence[str]] = None, on_starts: Optional[Sequence[str]] = None, on_successes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_skipped_runs is not None: @@ -23403,7 +25983,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], rules: Sequence['outputs.GetJobJobSettingsSettingsTaskHealthRuleResult'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("rules", rules) @property @@ -23430,7 +26012,9 @@ def _configure( metric: Optional[str] = None, op: Optional[str] = None, value: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if metric is not None: _setter("metric", metric) if op is not None: @@ -23481,7 +26065,9 @@ def _configure( maven: Optional['outputs.GetJobJobSettingsSettingsTaskLibraryMavenResult'] = None, pypi: Optional['outputs.GetJobJobSettingsSettingsTaskLibraryPypiResult'] = None, whl: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if cran is not None: _setter("cran", cran) if egg is not None: @@ -23541,7 +26127,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -23575,7 +26163,9 @@ def _configure( coordinates: str, exclusions: Optional[Sequence[str]] = None, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("coordinates", coordinates) if exclusions is not None: _setter("exclusions", exclusions) @@ -23613,7 +26203,9 @@ def _configure( _setter: Callable[[Any, Any], None], package: str, repo: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("package", package) if repo is not None: _setter("repo", repo) @@ -23728,7 +26320,67 @@ def _configure( spark_env_vars: Optional[Mapping[str, Any]] = None, ssh_public_keys: Optional[Sequence[str]] = None, workload_type: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'driverInstancePoolId' in kwargs: + driver_instance_pool_id = kwargs['driverInstancePoolId'] + if 'driverNodeTypeId' in kwargs: + driver_node_type_id = kwargs['driverNodeTypeId'] + if 'enableElasticDisk' in kwargs: + enable_elastic_disk = kwargs['enableElasticDisk'] + if 'enableLocalDiskEncryption' in kwargs: + enable_local_disk_encryption = kwargs['enableLocalDiskEncryption'] + if 'nodeTypeId' in kwargs: + node_type_id = kwargs['nodeTypeId'] + if 'numWorkers' in kwargs: + num_workers = kwargs['numWorkers'] + if 'sparkVersion' in kwargs: + spark_version = kwargs['sparkVersion'] + if 'applyPolicyDefaultValues' in kwargs: + apply_policy_default_values = kwargs['applyPolicyDefaultValues'] + if 'autoterminationMinutes' in kwargs: + autotermination_minutes = kwargs['autoterminationMinutes'] + if 'awsAttributes' in kwargs: + aws_attributes = kwargs['awsAttributes'] + if 'azureAttributes' in kwargs: + azure_attributes = kwargs['azureAttributes'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterLogConf' in kwargs: + cluster_log_conf = kwargs['clusterLogConf'] + if 'clusterMountInfos' in kwargs: + cluster_mount_infos = kwargs['clusterMountInfos'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + if 'dataSecurityMode' in kwargs: + data_security_mode = kwargs['dataSecurityMode'] + if 'dockerImage' in kwargs: + docker_image = kwargs['dockerImage'] + if 'gcpAttributes' in kwargs: + gcp_attributes = kwargs['gcpAttributes'] + if 'idempotencyToken' in kwargs: + idempotency_token = kwargs['idempotencyToken'] + if 'initScripts' in kwargs: + init_scripts = kwargs['initScripts'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'policyId' in kwargs: + policy_id = kwargs['policyId'] + if 'runtimeEngine' in kwargs: + runtime_engine = kwargs['runtimeEngine'] + if 'singleUserName' in kwargs: + single_user_name = kwargs['singleUserName'] + if 'sparkConf' in kwargs: + spark_conf = kwargs['sparkConf'] + if 'sparkEnvVars' in kwargs: + spark_env_vars = kwargs['sparkEnvVars'] + if 'sshPublicKeys' in kwargs: + ssh_public_keys = kwargs['sshPublicKeys'] + if 'workloadType' in kwargs: + workload_type = kwargs['workloadType'] + _setter("driver_instance_pool_id", driver_instance_pool_id) _setter("driver_node_type_id", driver_node_type_id) _setter("enable_elastic_disk", enable_elastic_disk) @@ -23949,7 +26601,13 @@ def _configure( _setter: Callable[[Any, Any], None], max_workers: Optional[int] = None, min_workers: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxWorkers' in kwargs: + max_workers = kwargs['maxWorkers'] + if 'minWorkers' in kwargs: + min_workers = kwargs['minWorkers'] + if max_workers is not None: _setter("max_workers", max_workers) if min_workers is not None: @@ -23999,7 +26657,23 @@ def _configure( instance_profile_arn: Optional[str] = None, spot_bid_price_percent: Optional[int] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ebsVolumeCount' in kwargs: + ebs_volume_count = kwargs['ebsVolumeCount'] + if 'ebsVolumeSize' in kwargs: + ebs_volume_size = kwargs['ebsVolumeSize'] + if 'ebsVolumeType' in kwargs: + ebs_volume_type = kwargs['ebsVolumeType'] + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'spotBidPricePercent' in kwargs: + spot_bid_price_percent = kwargs['spotBidPricePercent'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if ebs_volume_count is not None: @@ -24076,7 +26750,13 @@ def _configure( availability: Optional[str] = None, first_on_demand: Optional[int] = None, spot_bid_max_price: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstOnDemand' in kwargs: + first_on_demand = kwargs['firstOnDemand'] + if 'spotBidMaxPrice' in kwargs: + spot_bid_max_price = kwargs['spotBidMaxPrice'] + if availability is not None: _setter("availability", availability) if first_on_demand is not None: @@ -24115,7 +26795,9 @@ def _configure( _setter: Callable[[Any, Any], None], dbfs: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfDbfsResult'] = None, s3: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterClusterLogConfS3Result'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if dbfs is not None: _setter("dbfs", dbfs) if s3 is not None: @@ -24144,7 +26826,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -24183,7 +26867,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -24252,7 +26946,15 @@ def _configure( local_mount_dir_path: str, network_filesystem_info: 'outputs.GetJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfoResult', remote_mount_dir_path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'localMountDirPath' in kwargs: + local_mount_dir_path = kwargs['localMountDirPath'] + if 'networkFilesystemInfo' in kwargs: + network_filesystem_info = kwargs['networkFilesystemInfo'] + if 'remoteMountDirPath' in kwargs: + remote_mount_dir_path = kwargs['remoteMountDirPath'] + _setter("local_mount_dir_path", local_mount_dir_path) _setter("network_filesystem_info", network_filesystem_info) if remote_mount_dir_path is not None: @@ -24289,7 +26991,13 @@ def _configure( _setter: Callable[[Any, Any], None], server_address: str, mount_options: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'serverAddress' in kwargs: + server_address = kwargs['serverAddress'] + if 'mountOptions' in kwargs: + mount_options = kwargs['mountOptions'] + _setter("server_address", server_address) if mount_options is not None: _setter("mount_options", mount_options) @@ -24320,7 +27028,11 @@ def _configure( _setter: Callable[[Any, Any], None], url: str, basic_auth: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuthResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'basicAuth' in kwargs: + basic_auth = kwargs['basicAuth'] + _setter("url", url) if basic_auth is not None: _setter("basic_auth", basic_auth) @@ -24351,7 +27063,9 @@ def _configure( _setter: Callable[[Any, Any], None], password: str, username: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("password", password) _setter("username", username) @@ -24393,7 +27107,19 @@ def _configure( local_ssd_count: Optional[int] = None, use_preemptible_executors: Optional[bool] = None, zone_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bootDiskSize' in kwargs: + boot_disk_size = kwargs['bootDiskSize'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'localSsdCount' in kwargs: + local_ssd_count = kwargs['localSsdCount'] + if 'usePreemptibleExecutors' in kwargs: + use_preemptible_executors = kwargs['usePreemptibleExecutors'] + if 'zoneId' in kwargs: + zone_id = kwargs['zoneId'] + if availability is not None: _setter("availability", availability) if boot_disk_size is not None: @@ -24468,7 +27194,9 @@ def _configure( s3: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptS3Result'] = None, volumes: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptVolumesResult'] = None, workspace: Optional['outputs.GetJobJobSettingsSettingsTaskNewClusterInitScriptWorkspaceResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if abfss is not None: _setter("abfss", abfss) if dbfs is not None: @@ -24532,7 +27260,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24554,7 +27284,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("destination", destination) @property @@ -24575,7 +27307,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24597,7 +27331,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24637,7 +27373,17 @@ def _configure( endpoint: Optional[str] = None, kms_key: Optional[str] = None, region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cannedAcl' in kwargs: + canned_acl = kwargs['cannedAcl'] + if 'enableEncryption' in kwargs: + enable_encryption = kwargs['enableEncryption'] + if 'encryptionType' in kwargs: + encryption_type = kwargs['encryptionType'] + if 'kmsKey' in kwargs: + kms_key = kwargs['kmsKey'] + _setter("destination", destination) if canned_acl is not None: _setter("canned_acl", canned_acl) @@ -24700,7 +27446,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24722,7 +27470,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], destination: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if destination is not None: _setter("destination", destination) @@ -24744,7 +27494,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], clients: 'outputs.GetJobJobSettingsSettingsTaskNewClusterWorkloadTypeClientsResult', - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("clients", clients) @property @@ -24768,7 +27520,9 @@ def _configure( _setter: Callable[[Any, Any], None], jobs: Optional[bool] = None, notebooks: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if jobs is not None: _setter("jobs", jobs) if notebooks is not None: @@ -24803,7 +27557,13 @@ def _configure( notebook_path: str, base_parameters: Optional[Mapping[str, Any]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'baseParameters' in kwargs: + base_parameters = kwargs['baseParameters'] + _setter("notebook_path", notebook_path) if base_parameters is not None: _setter("base_parameters", base_parameters) @@ -24844,7 +27604,15 @@ def _configure( alert_on_last_attempt: Optional[bool] = None, no_alert_for_canceled_runs: Optional[bool] = None, no_alert_for_skipped_runs: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertOnLastAttempt' in kwargs: + alert_on_last_attempt = kwargs['alertOnLastAttempt'] + if 'noAlertForCanceledRuns' in kwargs: + no_alert_for_canceled_runs = kwargs['noAlertForCanceledRuns'] + if 'noAlertForSkippedRuns' in kwargs: + no_alert_for_skipped_runs = kwargs['noAlertForSkippedRuns'] + if alert_on_last_attempt is not None: _setter("alert_on_last_attempt", alert_on_last_attempt) if no_alert_for_canceled_runs is not None: @@ -24883,7 +27651,13 @@ def _configure( _setter: Callable[[Any, Any], None], pipeline_id: str, full_refresh: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'fullRefresh' in kwargs: + full_refresh = kwargs['fullRefresh'] + _setter("pipeline_id", pipeline_id) if full_refresh is not None: _setter("full_refresh", full_refresh) @@ -24920,7 +27694,15 @@ def _configure( named_parameters: Optional[Mapping[str, Any]] = None, package_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'entryPoint' in kwargs: + entry_point = kwargs['entryPoint'] + if 'namedParameters' in kwargs: + named_parameters = kwargs['namedParameters'] + if 'packageName' in kwargs: + package_name = kwargs['packageName'] + if entry_point is not None: _setter("entry_point", entry_point) if named_parameters is not None: @@ -24966,7 +27748,13 @@ def _configure( _setter: Callable[[Any, Any], None], job_id: int, job_parameters: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'jobParameters' in kwargs: + job_parameters = kwargs['jobParameters'] + _setter("job_id", job_id) if job_parameters is not None: _setter("job_parameters", job_parameters) @@ -25000,7 +27788,13 @@ def _configure( jar_uri: Optional[str] = None, main_class_name: Optional[str] = None, parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jarUri' in kwargs: + jar_uri = kwargs['jarUri'] + if 'mainClassName' in kwargs: + main_class_name = kwargs['mainClassName'] + if jar_uri is not None: _setter("jar_uri", jar_uri) if main_class_name is not None: @@ -25042,7 +27836,11 @@ def _configure( python_file: str, parameters: Optional[Sequence[str]] = None, source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'pythonFile' in kwargs: + python_file = kwargs['pythonFile'] + _setter("python_file", python_file) if parameters is not None: _setter("parameters", parameters) @@ -25077,7 +27875,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], parameters: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if parameters is not None: _setter("parameters", parameters) @@ -25114,7 +27914,11 @@ def _configure( parameters: Optional[Mapping[str, Any]] = None, query: Optional['outputs.GetJobJobSettingsSettingsTaskSqlTaskQueryResult'] = None, warehouse_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + if alert is not None: _setter("alert", alert) if dashboard is not None: @@ -25177,7 +27981,13 @@ def _configure( alert_id: str, subscriptions: Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskAlertSubscriptionResult'], pause_subscriptions: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if 'pauseSubscriptions' in kwargs: + pause_subscriptions = kwargs['pauseSubscriptions'] + _setter("alert_id", alert_id) _setter("subscriptions", subscriptions) if pause_subscriptions is not None: @@ -25214,7 +28024,13 @@ def _configure( _setter: Callable[[Any, Any], None], destination_id: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'destinationId' in kwargs: + destination_id = kwargs['destinationId'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if destination_id is not None: _setter("destination_id", destination_id) if user_name is not None: @@ -25252,7 +28068,15 @@ def _configure( custom_subject: Optional[str] = None, pause_subscriptions: Optional[bool] = None, subscriptions: Optional[Sequence['outputs.GetJobJobSettingsSettingsTaskSqlTaskDashboardSubscriptionResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dashboardId' in kwargs: + dashboard_id = kwargs['dashboardId'] + if 'customSubject' in kwargs: + custom_subject = kwargs['customSubject'] + if 'pauseSubscriptions' in kwargs: + pause_subscriptions = kwargs['pauseSubscriptions'] + _setter("dashboard_id", dashboard_id) if custom_subject is not None: _setter("custom_subject", custom_subject) @@ -25297,7 +28121,13 @@ def _configure( _setter: Callable[[Any, Any], None], destination_id: Optional[str] = None, user_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'destinationId' in kwargs: + destination_id = kwargs['destinationId'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if destination_id is not None: _setter("destination_id", destination_id) if user_name is not None: @@ -25326,7 +28156,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], path: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) @property @@ -25347,7 +28179,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], query_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + _setter("query_id", query_id) @property @@ -25371,7 +28207,13 @@ def _configure( _setter: Callable[[Any, Any], None], file_arrival: 'outputs.GetJobJobSettingsSettingsTriggerFileArrivalResult', pause_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'fileArrival' in kwargs: + file_arrival = kwargs['fileArrival'] + if 'pauseStatus' in kwargs: + pause_status = kwargs['pauseStatus'] + _setter("file_arrival", file_arrival) if pause_status is not None: _setter("pause_status", pause_status) @@ -25405,7 +28247,13 @@ def _configure( url: str, min_time_between_triggers_seconds: Optional[int] = None, wait_after_last_change_seconds: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'minTimeBetweenTriggersSeconds' in kwargs: + min_time_between_triggers_seconds = kwargs['minTimeBetweenTriggersSeconds'] + if 'waitAfterLastChangeSeconds' in kwargs: + wait_after_last_change_seconds = kwargs['waitAfterLastChangeSeconds'] + _setter("url", url) if min_time_between_triggers_seconds is not None: _setter("min_time_between_triggers_seconds", min_time_between_triggers_seconds) @@ -25449,7 +28297,17 @@ def _configure( on_failures: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnFailureResult']] = None, on_starts: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnStartResult']] = None, on_successes: Optional[Sequence['outputs.GetJobJobSettingsSettingsWebhookNotificationsOnSuccessResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'onDurationWarningThresholdExceededs' in kwargs: + on_duration_warning_threshold_exceededs = kwargs['onDurationWarningThresholdExceededs'] + if 'onFailures' in kwargs: + on_failures = kwargs['onFailures'] + if 'onStarts' in kwargs: + on_starts = kwargs['onStarts'] + if 'onSuccesses' in kwargs: + on_successes = kwargs['onSuccesses'] + if on_duration_warning_threshold_exceededs is not None: _setter("on_duration_warning_threshold_exceededs", on_duration_warning_threshold_exceededs) if on_failures is not None: @@ -25495,7 +28353,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -25522,7 +28382,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -25549,7 +28411,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -25576,7 +28440,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], id: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("id", id) @property @@ -25660,7 +28526,37 @@ def _configure( storage_root_credential_name: Optional[str] = None, updated_at: Optional[int] = None, updated_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'defaultDataAccessConfigId' in kwargs: + default_data_access_config_id = kwargs['defaultDataAccessConfigId'] + if 'deltaSharingOrganizationName' in kwargs: + delta_sharing_organization_name = kwargs['deltaSharingOrganizationName'] + if 'deltaSharingRecipientTokenLifetimeInSeconds' in kwargs: + delta_sharing_recipient_token_lifetime_in_seconds = kwargs['deltaSharingRecipientTokenLifetimeInSeconds'] + if 'deltaSharingScope' in kwargs: + delta_sharing_scope = kwargs['deltaSharingScope'] + if 'globalMetastoreId' in kwargs: + global_metastore_id = kwargs['globalMetastoreId'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'privilegeModelVersion' in kwargs: + privilege_model_version = kwargs['privilegeModelVersion'] + if 'storageRoot' in kwargs: + storage_root = kwargs['storageRoot'] + if 'storageRootCredentialId' in kwargs: + storage_root_credential_id = kwargs['storageRootCredentialId'] + if 'storageRootCredentialName' in kwargs: + storage_root_credential_name = kwargs['storageRootCredentialName'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if cloud is not None: _setter("cloud", cloud) if created_at is not None: @@ -25828,7 +28724,9 @@ def _configure( _setter: Callable[[Any, Any], None], language: Optional[str] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if language is not None: _setter("language", language) if path is not None: @@ -25895,7 +28793,23 @@ def _configure( partitions: Optional[Sequence['outputs.GetShareObjectPartitionResult']] = None, shared_as: Optional[str] = None, start_version: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addedAt' in kwargs: + added_at = kwargs['addedAt'] + if 'addedBy' in kwargs: + added_by = kwargs['addedBy'] + if 'dataObjectType' in kwargs: + data_object_type = kwargs['dataObjectType'] + if 'cdfEnabled' in kwargs: + cdf_enabled = kwargs['cdfEnabled'] + if 'historyDataSharingStatus' in kwargs: + history_data_sharing_status = kwargs['historyDataSharingStatus'] + if 'sharedAs' in kwargs: + shared_as = kwargs['sharedAs'] + if 'startVersion' in kwargs: + start_version = kwargs['startVersion'] + _setter("added_at", added_at) _setter("added_by", added_by) _setter("data_object_type", data_object_type) @@ -25991,7 +28905,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], values: Sequence['outputs.GetShareObjectPartitionValueResult'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("values", values) @property @@ -26024,7 +28940,11 @@ def _configure( op: str, recipient_property_key: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'recipientPropertyKey' in kwargs: + recipient_property_key = kwargs['recipientPropertyKey'] + _setter("name", name) _setter("op", op) if recipient_property_key is not None: @@ -26071,7 +28991,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if name is not None: _setter("name", name) @@ -26108,7 +29030,9 @@ def _configure( protocol: str, host: Optional[str] = None, hostname: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("path", path) _setter("port", port) _setter("protocol", protocol) @@ -26155,7 +29079,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], custom_tags: Sequence['outputs.GetSqlWarehouseTagsCustomTagResult'], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customTags' in kwargs: + custom_tags = kwargs['customTags'] + _setter("custom_tags", custom_tags) @property @@ -26179,7 +29107,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: str, value: str, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("key", key) _setter("value", value) diff --git a/sdk/python/pulumi_databricks/permission_assignment.py b/sdk/python/pulumi_databricks/permission_assignment.py index 8bde0e65..e9d026ba 100644 --- a/sdk/python/pulumi_databricks/permission_assignment.py +++ b/sdk/python/pulumi_databricks/permission_assignment.py @@ -29,7 +29,11 @@ def _configure( _setter: Callable[[Any, Any], None], permissions: pulumi.Input[Sequence[pulumi.Input[str]]], principal_id: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'principalId' in kwargs: + principal_id = kwargs['principalId'] + _setter("permissions", permissions) _setter("principal_id", principal_id) @@ -70,7 +74,11 @@ def _configure( _setter: Callable[[Any, Any], None], permissions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, principal_id: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'principalId' in kwargs: + principal_id = kwargs['principalId'] + if permissions is not None: _setter("permissions", permissions) if principal_id is not None: diff --git a/sdk/python/pulumi_databricks/permissions.py b/sdk/python/pulumi_databricks/permissions.py index 4780ca7c..a31fec56 100644 --- a/sdk/python/pulumi_databricks/permissions.py +++ b/sdk/python/pulumi_databricks/permissions.py @@ -114,7 +114,53 @@ def _configure( sql_query_id: Optional[pulumi.Input[str]] = None, workspace_file_id: Optional[pulumi.Input[str]] = None, workspace_file_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessControls' in kwargs: + access_controls = kwargs['accessControls'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterPolicyId' in kwargs: + cluster_policy_id = kwargs['clusterPolicyId'] + if 'directoryId' in kwargs: + directory_id = kwargs['directoryId'] + if 'directoryPath' in kwargs: + directory_path = kwargs['directoryPath'] + if 'experimentId' in kwargs: + experiment_id = kwargs['experimentId'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'notebookId' in kwargs: + notebook_id = kwargs['notebookId'] + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'objectType' in kwargs: + object_type = kwargs['objectType'] + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'registeredModelId' in kwargs: + registered_model_id = kwargs['registeredModelId'] + if 'repoId' in kwargs: + repo_id = kwargs['repoId'] + if 'repoPath' in kwargs: + repo_path = kwargs['repoPath'] + if 'servingEndpointId' in kwargs: + serving_endpoint_id = kwargs['servingEndpointId'] + if 'sqlAlertId' in kwargs: + sql_alert_id = kwargs['sqlAlertId'] + if 'sqlDashboardId' in kwargs: + sql_dashboard_id = kwargs['sqlDashboardId'] + if 'sqlEndpointId' in kwargs: + sql_endpoint_id = kwargs['sqlEndpointId'] + if 'sqlQueryId' in kwargs: + sql_query_id = kwargs['sqlQueryId'] + if 'workspaceFileId' in kwargs: + workspace_file_id = kwargs['workspaceFileId'] + if 'workspaceFilePath' in kwargs: + workspace_file_path = kwargs['workspaceFilePath'] + _setter("access_controls", access_controls) if authorization is not None: _setter("authorization", authorization) @@ -530,7 +576,53 @@ def _configure( sql_query_id: Optional[pulumi.Input[str]] = None, workspace_file_id: Optional[pulumi.Input[str]] = None, workspace_file_path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessControls' in kwargs: + access_controls = kwargs['accessControls'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterPolicyId' in kwargs: + cluster_policy_id = kwargs['clusterPolicyId'] + if 'directoryId' in kwargs: + directory_id = kwargs['directoryId'] + if 'directoryPath' in kwargs: + directory_path = kwargs['directoryPath'] + if 'experimentId' in kwargs: + experiment_id = kwargs['experimentId'] + if 'instancePoolId' in kwargs: + instance_pool_id = kwargs['instancePoolId'] + if 'jobId' in kwargs: + job_id = kwargs['jobId'] + if 'notebookId' in kwargs: + notebook_id = kwargs['notebookId'] + if 'notebookPath' in kwargs: + notebook_path = kwargs['notebookPath'] + if 'objectType' in kwargs: + object_type = kwargs['objectType'] + if 'pipelineId' in kwargs: + pipeline_id = kwargs['pipelineId'] + if 'registeredModelId' in kwargs: + registered_model_id = kwargs['registeredModelId'] + if 'repoId' in kwargs: + repo_id = kwargs['repoId'] + if 'repoPath' in kwargs: + repo_path = kwargs['repoPath'] + if 'servingEndpointId' in kwargs: + serving_endpoint_id = kwargs['servingEndpointId'] + if 'sqlAlertId' in kwargs: + sql_alert_id = kwargs['sqlAlertId'] + if 'sqlDashboardId' in kwargs: + sql_dashboard_id = kwargs['sqlDashboardId'] + if 'sqlEndpointId' in kwargs: + sql_endpoint_id = kwargs['sqlEndpointId'] + if 'sqlQueryId' in kwargs: + sql_query_id = kwargs['sqlQueryId'] + if 'workspaceFileId' in kwargs: + workspace_file_id = kwargs['workspaceFileId'] + if 'workspaceFilePath' in kwargs: + workspace_file_path = kwargs['workspaceFilePath'] + if access_controls is not None: _setter("access_controls", access_controls) if authorization is not None: diff --git a/sdk/python/pulumi_databricks/pipeline.py b/sdk/python/pulumi_databricks/pipeline.py index f71d787b..99cf2b1d 100644 --- a/sdk/python/pulumi_databricks/pipeline.py +++ b/sdk/python/pulumi_databricks/pipeline.py @@ -85,7 +85,11 @@ def _configure( serverless: Optional[pulumi.Input[bool]] = None, storage: Optional[pulumi.Input[str]] = None, target: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowDuplicateNames' in kwargs: + allow_duplicate_names = kwargs['allowDuplicateNames'] + if allow_duplicate_names is not None: _setter("allow_duplicate_names", allow_duplicate_names) if catalog is not None: @@ -375,7 +379,11 @@ def _configure( storage: Optional[pulumi.Input[str]] = None, target: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowDuplicateNames' in kwargs: + allow_duplicate_names = kwargs['allowDuplicateNames'] + if allow_duplicate_names is not None: _setter("allow_duplicate_names", allow_duplicate_names) if catalog is not None: diff --git a/sdk/python/pulumi_databricks/provider.py b/sdk/python/pulumi_databricks/provider.py index 1af38ffb..0eb5eaee 100644 --- a/sdk/python/pulumi_databricks/provider.py +++ b/sdk/python/pulumi_databricks/provider.py @@ -110,7 +110,57 @@ def _configure( token: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, warehouse_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountId' in kwargs: + account_id = kwargs['accountId'] + if 'authType' in kwargs: + auth_type = kwargs['authType'] + if 'azureClientId' in kwargs: + azure_client_id = kwargs['azureClientId'] + if 'azureClientSecret' in kwargs: + azure_client_secret = kwargs['azureClientSecret'] + if 'azureEnvironment' in kwargs: + azure_environment = kwargs['azureEnvironment'] + if 'azureLoginAppId' in kwargs: + azure_login_app_id = kwargs['azureLoginAppId'] + if 'azureTenantId' in kwargs: + azure_tenant_id = kwargs['azureTenantId'] + if 'azureUseMsi' in kwargs: + azure_use_msi = kwargs['azureUseMsi'] + if 'azureWorkspaceResourceId' in kwargs: + azure_workspace_resource_id = kwargs['azureWorkspaceResourceId'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'configFile' in kwargs: + config_file = kwargs['configFile'] + if 'databricksCliPath' in kwargs: + databricks_cli_path = kwargs['databricksCliPath'] + if 'debugHeaders' in kwargs: + debug_headers = kwargs['debugHeaders'] + if 'debugTruncateBytes' in kwargs: + debug_truncate_bytes = kwargs['debugTruncateBytes'] + if 'googleCredentials' in kwargs: + google_credentials = kwargs['googleCredentials'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'httpTimeoutSeconds' in kwargs: + http_timeout_seconds = kwargs['httpTimeoutSeconds'] + if 'metadataServiceUrl' in kwargs: + metadata_service_url = kwargs['metadataServiceUrl'] + if 'rateLimit' in kwargs: + rate_limit = kwargs['rateLimit'] + if 'retryTimeoutSeconds' in kwargs: + retry_timeout_seconds = kwargs['retryTimeoutSeconds'] + if 'skipVerify' in kwargs: + skip_verify = kwargs['skipVerify'] + if 'warehouseId' in kwargs: + warehouse_id = kwargs['warehouseId'] + if account_id is not None: _setter("account_id", account_id) if auth_type is not None: diff --git a/sdk/python/pulumi_databricks/recipient.py b/sdk/python/pulumi_databricks/recipient.py index 51b791e4..7434a4a7 100644 --- a/sdk/python/pulumi_databricks/recipient.py +++ b/sdk/python/pulumi_databricks/recipient.py @@ -53,7 +53,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, sharing_code: Optional[pulumi.Input[str]] = None, tokens: Optional[pulumi.Input[Sequence[pulumi.Input['RecipientTokenArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationType' in kwargs: + authentication_type = kwargs['authenticationType'] + if 'dataRecipientGlobalMetastoreId' in kwargs: + data_recipient_global_metastore_id = kwargs['dataRecipientGlobalMetastoreId'] + if 'ipAccessList' in kwargs: + ip_access_list = kwargs['ipAccessList'] + if 'sharingCode' in kwargs: + sharing_code = kwargs['sharingCode'] + _setter("authentication_type", authentication_type) if comment is not None: _setter("comment", comment) @@ -193,7 +203,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, sharing_code: Optional[pulumi.Input[str]] = None, tokens: Optional[pulumi.Input[Sequence[pulumi.Input['RecipientTokenArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationType' in kwargs: + authentication_type = kwargs['authenticationType'] + if 'dataRecipientGlobalMetastoreId' in kwargs: + data_recipient_global_metastore_id = kwargs['dataRecipientGlobalMetastoreId'] + if 'ipAccessList' in kwargs: + ip_access_list = kwargs['ipAccessList'] + if 'sharingCode' in kwargs: + sharing_code = kwargs['sharingCode'] + if authentication_type is not None: _setter("authentication_type", authentication_type) if comment is not None: diff --git a/sdk/python/pulumi_databricks/registered_model.py b/sdk/python/pulumi_databricks/registered_model.py new file mode 100644 index 00000000..e8f79442 --- /dev/null +++ b/sdk/python/pulumi_databricks/registered_model.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['RegisteredModelArgs', 'RegisteredModel'] + +@pulumi.input_type +class RegisteredModelArgs: + def __init__(__self__, *, + catalog_name: pulumi.Input[str], + schema_name: pulumi.Input[str], + comment: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + storage_location: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a RegisteredModel resource. + :param pulumi.Input[str] catalog_name: The name of the catalog where the schema and the registered model reside. + :param pulumi.Input[str] schema_name: The name of the schema where the registered model resides. + :param pulumi.Input[str] comment: The comment attached to the registered model. + :param pulumi.Input[str] name: The name of the registered model. + """ + RegisteredModelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_name=catalog_name, + schema_name=schema_name, + comment=comment, + name=name, + storage_location=storage_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_name: pulumi.Input[str], + schema_name: pulumi.Input[str], + comment: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + storage_location: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'schemaName' in kwargs: + schema_name = kwargs['schemaName'] + if 'storageLocation' in kwargs: + storage_location = kwargs['storageLocation'] + + _setter("catalog_name", catalog_name) + _setter("schema_name", schema_name) + if comment is not None: + _setter("comment", comment) + if name is not None: + _setter("name", name) + if storage_location is not None: + _setter("storage_location", storage_location) + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> pulumi.Input[str]: + """ + The name of the catalog where the schema and the registered model reside. + """ + return pulumi.get(self, "catalog_name") + + @catalog_name.setter + def catalog_name(self, value: pulumi.Input[str]): + pulumi.set(self, "catalog_name", value) + + @property + @pulumi.getter(name="schemaName") + def schema_name(self) -> pulumi.Input[str]: + """ + The name of the schema where the registered model resides. + """ + return pulumi.get(self, "schema_name") + + @schema_name.setter + def schema_name(self, value: pulumi.Input[str]): + pulumi.set(self, "schema_name", value) + + @property + @pulumi.getter + def comment(self) -> Optional[pulumi.Input[str]]: + """ + The comment attached to the registered model. + """ + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the registered model. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "storage_location") + + @storage_location.setter + def storage_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_location", value) + + +@pulumi.input_type +class _RegisteredModelState: + def __init__(__self__, *, + catalog_name: Optional[pulumi.Input[str]] = None, + comment: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + storage_location: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering RegisteredModel resources. + :param pulumi.Input[str] catalog_name: The name of the catalog where the schema and the registered model reside. + :param pulumi.Input[str] comment: The comment attached to the registered model. + :param pulumi.Input[str] name: The name of the registered model. + :param pulumi.Input[str] schema_name: The name of the schema where the registered model resides. + """ + _RegisteredModelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_name=catalog_name, + comment=comment, + name=name, + schema_name=schema_name, + storage_location=storage_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_name: Optional[pulumi.Input[str]] = None, + comment: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + storage_location: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'schemaName' in kwargs: + schema_name = kwargs['schemaName'] + if 'storageLocation' in kwargs: + storage_location = kwargs['storageLocation'] + + if catalog_name is not None: + _setter("catalog_name", catalog_name) + if comment is not None: + _setter("comment", comment) + if name is not None: + _setter("name", name) + if schema_name is not None: + _setter("schema_name", schema_name) + if storage_location is not None: + _setter("storage_location", storage_location) + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the catalog where the schema and the registered model reside. + """ + return pulumi.get(self, "catalog_name") + + @catalog_name.setter + def catalog_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "catalog_name", value) + + @property + @pulumi.getter + def comment(self) -> Optional[pulumi.Input[str]]: + """ + The comment attached to the registered model. + """ + return pulumi.get(self, "comment") + + @comment.setter + def comment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "comment", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the registered model. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="schemaName") + def schema_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the schema where the registered model resides. + """ + return pulumi.get(self, "schema_name") + + @schema_name.setter + def schema_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema_name", value) + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "storage_location") + + @storage_location.setter + def storage_location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_location", value) + + +class RegisteredModel(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + catalog_name: Optional[pulumi.Input[str]] = None, + comment: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + storage_location: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.RegisteredModel("this", + catalog_name="main", + schema_name="default") + ``` + ## Access Control + + * Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges. + + ## Related Resources + + The following resources are often used in the same context: + + * ModelServing to serve this model on a Databricks serving endpoint. + * MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. + * Table data to manage tables within Unity Catalog. + * Schema data to manage schemas within Unity Catalog. + * Catalog data to manage catalogs within Unity Catalog. + + ## Import + + The registered model resource can be imported using the full (3-level) name of the model. bash + + ```sh + $ pulumi import databricks:index/registeredModel:RegisteredModel this + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] catalog_name: The name of the catalog where the schema and the registered model reside. + :param pulumi.Input[str] comment: The comment attached to the registered model. + :param pulumi.Input[str] name: The name of the registered model. + :param pulumi.Input[str] schema_name: The name of the schema where the registered model resides. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RegisteredModelArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks. + + ## Example Usage + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.RegisteredModel("this", + catalog_name="main", + schema_name="default") + ``` + ## Access Control + + * Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges. + + ## Related Resources + + The following resources are often used in the same context: + + * ModelServing to serve this model on a Databricks serving endpoint. + * MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks. + * Table data to manage tables within Unity Catalog. + * Schema data to manage schemas within Unity Catalog. + * Catalog data to manage catalogs within Unity Catalog. + + ## Import + + The registered model resource can be imported using the full (3-level) name of the model. bash + + ```sh + $ pulumi import databricks:index/registeredModel:RegisteredModel this + ``` + + :param str resource_name: The name of the resource. + :param RegisteredModelArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(RegisteredModelArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RegisteredModelArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + catalog_name: Optional[pulumi.Input[str]] = None, + comment: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + storage_location: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = RegisteredModelArgs.__new__(RegisteredModelArgs) + + if catalog_name is None and not opts.urn: + raise TypeError("Missing required property 'catalog_name'") + __props__.__dict__["catalog_name"] = catalog_name + __props__.__dict__["comment"] = comment + __props__.__dict__["name"] = name + if schema_name is None and not opts.urn: + raise TypeError("Missing required property 'schema_name'") + __props__.__dict__["schema_name"] = schema_name + __props__.__dict__["storage_location"] = storage_location + super(RegisteredModel, __self__).__init__( + 'databricks:index/registeredModel:RegisteredModel', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + catalog_name: Optional[pulumi.Input[str]] = None, + comment: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + storage_location: Optional[pulumi.Input[str]] = None) -> 'RegisteredModel': + """ + Get an existing RegisteredModel resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] catalog_name: The name of the catalog where the schema and the registered model reside. + :param pulumi.Input[str] comment: The comment attached to the registered model. + :param pulumi.Input[str] name: The name of the registered model. + :param pulumi.Input[str] schema_name: The name of the schema where the registered model resides. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _RegisteredModelState.__new__(_RegisteredModelState) + + __props__.__dict__["catalog_name"] = catalog_name + __props__.__dict__["comment"] = comment + __props__.__dict__["name"] = name + __props__.__dict__["schema_name"] = schema_name + __props__.__dict__["storage_location"] = storage_location + return RegisteredModel(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="catalogName") + def catalog_name(self) -> pulumi.Output[str]: + """ + The name of the catalog where the schema and the registered model reside. + """ + return pulumi.get(self, "catalog_name") + + @property + @pulumi.getter + def comment(self) -> pulumi.Output[Optional[str]]: + """ + The comment attached to the registered model. + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the registered model. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="schemaName") + def schema_name(self) -> pulumi.Output[str]: + """ + The name of the schema where the registered model resides. + """ + return pulumi.get(self, "schema_name") + + @property + @pulumi.getter(name="storageLocation") + def storage_location(self) -> pulumi.Output[str]: + return pulumi.get(self, "storage_location") + diff --git a/sdk/python/pulumi_databricks/repo.py b/sdk/python/pulumi_databricks/repo.py index f6601e74..1e5fc623 100644 --- a/sdk/python/pulumi_databricks/repo.py +++ b/sdk/python/pulumi_databricks/repo.py @@ -52,7 +52,15 @@ def _configure( path: Optional[pulumi.Input[str]] = None, sparse_checkout: Optional[pulumi.Input['RepoSparseCheckoutArgs']] = None, tag: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'commitHash' in kwargs: + commit_hash = kwargs['commitHash'] + if 'gitProvider' in kwargs: + git_provider = kwargs['gitProvider'] + if 'sparseCheckout' in kwargs: + sparse_checkout = kwargs['sparseCheckout'] + _setter("url", url) if branch is not None: _setter("branch", branch) @@ -188,7 +196,15 @@ def _configure( sparse_checkout: Optional[pulumi.Input['RepoSparseCheckoutArgs']] = None, tag: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'commitHash' in kwargs: + commit_hash = kwargs['commitHash'] + if 'gitProvider' in kwargs: + git_provider = kwargs['gitProvider'] + if 'sparseCheckout' in kwargs: + sparse_checkout = kwargs['sparseCheckout'] + if branch is not None: _setter("branch", branch) if commit_hash is not None: diff --git a/sdk/python/pulumi_databricks/schema.py b/sdk/python/pulumi_databricks/schema.py index 2056b87c..3b457283 100644 --- a/sdk/python/pulumi_databricks/schema.py +++ b/sdk/python/pulumi_databricks/schema.py @@ -30,7 +30,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of Schema relative to parent catalog. Change forces creation of a new resource. :param pulumi.Input[str] owner: Username/groupname/sp application_id of the schema owner. :param pulumi.Input[Mapping[str, Any]] properties: Extensible Schema properties. - :param pulumi.Input[str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + :param pulumi.Input[str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. """ SchemaArgs._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -54,7 +54,17 @@ def _configure( owner: Optional[pulumi.Input[str]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, storage_root: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'storageRoot' in kwargs: + storage_root = kwargs['storageRoot'] + _setter("catalog_name", catalog_name) if comment is not None: _setter("comment", comment) @@ -156,7 +166,7 @@ def properties(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="storageRoot") def storage_root(self) -> Optional[pulumi.Input[str]]: """ - Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. """ return pulumi.get(self, "storage_root") @@ -184,7 +194,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of Schema relative to parent catalog. Change forces creation of a new resource. :param pulumi.Input[str] owner: Username/groupname/sp application_id of the schema owner. :param pulumi.Input[Mapping[str, Any]] properties: Extensible Schema properties. - :param pulumi.Input[str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + :param pulumi.Input[str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. """ _SchemaState._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -208,7 +218,17 @@ def _configure( owner: Optional[pulumi.Input[str]] = None, properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, storage_root: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'storageRoot' in kwargs: + storage_root = kwargs['storageRoot'] + if catalog_name is not None: _setter("catalog_name", catalog_name) if comment is not None: @@ -311,7 +331,7 @@ def properties(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="storageRoot") def storage_root(self) -> Optional[pulumi.Input[str]]: """ - Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. """ return pulumi.get(self, "storage_root") @@ -382,7 +402,7 @@ def __init__(__self__, :param pulumi.Input[str] name: Name of Schema relative to parent catalog. Change forces creation of a new resource. :param pulumi.Input[str] owner: Username/groupname/sp application_id of the schema owner. :param pulumi.Input[Mapping[str, Any]] properties: Extensible Schema properties. - :param pulumi.Input[str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + :param pulumi.Input[str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. """ ... @overload @@ -507,7 +527,7 @@ def get(resource_name: str, :param pulumi.Input[str] name: Name of Schema relative to parent catalog. Change forces creation of a new resource. :param pulumi.Input[str] owner: Username/groupname/sp application_id of the schema owner. :param pulumi.Input[Mapping[str, Any]] properties: Extensible Schema properties. - :param pulumi.Input[str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + :param pulumi.Input[str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -580,7 +600,7 @@ def properties(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: @pulumi.getter(name="storageRoot") def storage_root(self) -> pulumi.Output[Optional[str]]: """ - Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource. + Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource. """ return pulumi.get(self, "storage_root") diff --git a/sdk/python/pulumi_databricks/secret.py b/sdk/python/pulumi_databricks/secret.py index 30968869..ca61fed2 100644 --- a/sdk/python/pulumi_databricks/secret.py +++ b/sdk/python/pulumi_databricks/secret.py @@ -35,7 +35,11 @@ def _configure( key: pulumi.Input[str], scope: pulumi.Input[str], string_value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'stringValue' in kwargs: + string_value = kwargs['stringValue'] + _setter("key", key) _setter("scope", scope) _setter("string_value", string_value) @@ -109,7 +113,15 @@ def _configure( last_updated_timestamp: Optional[pulumi.Input[int]] = None, scope: Optional[pulumi.Input[str]] = None, string_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'configReference' in kwargs: + config_reference = kwargs['configReference'] + if 'lastUpdatedTimestamp' in kwargs: + last_updated_timestamp = kwargs['lastUpdatedTimestamp'] + if 'stringValue' in kwargs: + string_value = kwargs['stringValue'] + if config_reference is not None: _setter("config_reference", config_reference) if key is not None: diff --git a/sdk/python/pulumi_databricks/secret_acl.py b/sdk/python/pulumi_databricks/secret_acl.py index ad63a0a0..90df3e62 100644 --- a/sdk/python/pulumi_databricks/secret_acl.py +++ b/sdk/python/pulumi_databricks/secret_acl.py @@ -20,7 +20,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a SecretAcl resource. :param pulumi.Input[str] permission: `READ`, `WRITE` or `MANAGE`. - :param pulumi.Input[str] principal: name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + :param pulumi.Input[str] principal: principal's identifier. It can be: :param pulumi.Input[str] scope: name of the scope """ SecretAclArgs._configure( @@ -35,7 +35,9 @@ def _configure( permission: pulumi.Input[str], principal: pulumi.Input[str], scope: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + _setter("permission", permission) _setter("principal", principal) _setter("scope", scope) @@ -56,7 +58,7 @@ def permission(self, value: pulumi.Input[str]): @pulumi.getter def principal(self) -> pulumi.Input[str]: """ - name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + principal's identifier. It can be: """ return pulumi.get(self, "principal") @@ -86,7 +88,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering SecretAcl resources. :param pulumi.Input[str] permission: `READ`, `WRITE` or `MANAGE`. - :param pulumi.Input[str] principal: name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + :param pulumi.Input[str] principal: principal's identifier. It can be: :param pulumi.Input[str] scope: name of the scope """ _SecretAclState._configure( @@ -101,7 +103,9 @@ def _configure( permission: Optional[pulumi.Input[str]] = None, principal: Optional[pulumi.Input[str]] = None, scope: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if permission is not None: _setter("permission", permission) if principal is not None: @@ -125,7 +129,7 @@ def permission(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def principal(self) -> Optional[pulumi.Input[str]]: """ - name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + principal's identifier. It can be: """ return pulumi.get(self, "principal") @@ -160,7 +164,7 @@ def __init__(__self__, ## Example Usage - This way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault. + This way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault. ```python import pulumi @@ -199,7 +203,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] permission: `READ`, `WRITE` or `MANAGE`. - :param pulumi.Input[str] principal: name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + :param pulumi.Input[str] principal: principal's identifier. It can be: :param pulumi.Input[str] scope: name of the scope """ ... @@ -213,7 +217,7 @@ def __init__(__self__, ## Example Usage - This way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault. + This way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault. ```python import pulumi @@ -310,7 +314,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] permission: `READ`, `WRITE` or `MANAGE`. - :param pulumi.Input[str] principal: name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + :param pulumi.Input[str] principal: principal's identifier. It can be: :param pulumi.Input[str] scope: name of the scope """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -334,7 +338,7 @@ def permission(self) -> pulumi.Output[str]: @pulumi.getter def principal(self) -> pulumi.Output[str]: """ - name of the principals. It can be `users` for all users or name or `display_name` of databricks_group + principal's identifier. It can be: """ return pulumi.get(self, "principal") diff --git a/sdk/python/pulumi_databricks/secret_scope.py b/sdk/python/pulumi_databricks/secret_scope.py index 5ebb81b9..f73ae550 100644 --- a/sdk/python/pulumi_databricks/secret_scope.py +++ b/sdk/python/pulumi_databricks/secret_scope.py @@ -40,7 +40,15 @@ def _configure( initial_manage_principal: Optional[pulumi.Input[str]] = None, keyvault_metadata: Optional[pulumi.Input['SecretScopeKeyvaultMetadataArgs']] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backendType' in kwargs: + backend_type = kwargs['backendType'] + if 'initialManagePrincipal' in kwargs: + initial_manage_principal = kwargs['initialManagePrincipal'] + if 'keyvaultMetadata' in kwargs: + keyvault_metadata = kwargs['keyvaultMetadata'] + if backend_type is not None: _setter("backend_type", backend_type) if initial_manage_principal is not None: @@ -123,7 +131,15 @@ def _configure( initial_manage_principal: Optional[pulumi.Input[str]] = None, keyvault_metadata: Optional[pulumi.Input['SecretScopeKeyvaultMetadataArgs']] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backendType' in kwargs: + backend_type = kwargs['backendType'] + if 'initialManagePrincipal' in kwargs: + initial_manage_principal = kwargs['initialManagePrincipal'] + if 'keyvaultMetadata' in kwargs: + keyvault_metadata = kwargs['keyvaultMetadata'] + if backend_type is not None: _setter("backend_type", backend_type) if initial_manage_principal is not None: diff --git a/sdk/python/pulumi_databricks/service_principal.py b/sdk/python/pulumi_databricks/service_principal.py index 6f62d95e..83190483 100644 --- a/sdk/python/pulumi_databricks/service_principal.py +++ b/sdk/python/pulumi_databricks/service_principal.py @@ -82,7 +82,31 @@ def _configure( home: Optional[pulumi.Input[str]] = None, repos: Optional[pulumi.Input[str]] = None, workspace_access: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aclPrincipalId' in kwargs: + acl_principal_id = kwargs['aclPrincipalId'] + if 'allowClusterCreate' in kwargs: + allow_cluster_create = kwargs['allowClusterCreate'] + if 'allowInstancePoolCreate' in kwargs: + allow_instance_pool_create = kwargs['allowInstancePoolCreate'] + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'databricksSqlAccess' in kwargs: + databricks_sql_access = kwargs['databricksSqlAccess'] + if 'disableAsUserDeletion' in kwargs: + disable_as_user_deletion = kwargs['disableAsUserDeletion'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'forceDeleteHomeDir' in kwargs: + force_delete_home_dir = kwargs['forceDeleteHomeDir'] + if 'forceDeleteRepos' in kwargs: + force_delete_repos = kwargs['forceDeleteRepos'] + if 'workspaceAccess' in kwargs: + workspace_access = kwargs['workspaceAccess'] + if acl_principal_id is not None: _setter("acl_principal_id", acl_principal_id) if active is not None: @@ -363,7 +387,31 @@ def _configure( home: Optional[pulumi.Input[str]] = None, repos: Optional[pulumi.Input[str]] = None, workspace_access: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aclPrincipalId' in kwargs: + acl_principal_id = kwargs['aclPrincipalId'] + if 'allowClusterCreate' in kwargs: + allow_cluster_create = kwargs['allowClusterCreate'] + if 'allowInstancePoolCreate' in kwargs: + allow_instance_pool_create = kwargs['allowInstancePoolCreate'] + if 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if 'databricksSqlAccess' in kwargs: + databricks_sql_access = kwargs['databricksSqlAccess'] + if 'disableAsUserDeletion' in kwargs: + disable_as_user_deletion = kwargs['disableAsUserDeletion'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'forceDeleteHomeDir' in kwargs: + force_delete_home_dir = kwargs['forceDeleteHomeDir'] + if 'forceDeleteRepos' in kwargs: + force_delete_repos = kwargs['forceDeleteRepos'] + if 'workspaceAccess' in kwargs: + workspace_access = kwargs['workspaceAccess'] + if acl_principal_id is not None: _setter("acl_principal_id", acl_principal_id) if active is not None: diff --git a/sdk/python/pulumi_databricks/service_principal_role.py b/sdk/python/pulumi_databricks/service_principal_role.py index f968f43b..16e60a1a 100644 --- a/sdk/python/pulumi_databricks/service_principal_role.py +++ b/sdk/python/pulumi_databricks/service_principal_role.py @@ -31,7 +31,11 @@ def _configure( _setter: Callable[[Any, Any], None], role: pulumi.Input[str], service_principal_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servicePrincipalId' in kwargs: + service_principal_id = kwargs['servicePrincipalId'] + _setter("role", role) _setter("service_principal_id", service_principal_id) @@ -80,7 +84,11 @@ def _configure( _setter: Callable[[Any, Any], None], role: Optional[pulumi.Input[str]] = None, service_principal_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servicePrincipalId' in kwargs: + service_principal_id = kwargs['servicePrincipalId'] + if role is not None: _setter("role", role) if service_principal_id is not None: diff --git a/sdk/python/pulumi_databricks/service_principal_secret.py b/sdk/python/pulumi_databricks/service_principal_secret.py index 6b3a81d7..2cfacf55 100644 --- a/sdk/python/pulumi_databricks/service_principal_secret.py +++ b/sdk/python/pulumi_databricks/service_principal_secret.py @@ -32,7 +32,11 @@ def _configure( service_principal_id: pulumi.Input[str], secret: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servicePrincipalId' in kwargs: + service_principal_id = kwargs['servicePrincipalId'] + _setter("service_principal_id", service_principal_id) if secret is not None: _setter("secret", secret) @@ -88,7 +92,11 @@ def _configure( secret: Optional[pulumi.Input[str]] = None, service_principal_id: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'servicePrincipalId' in kwargs: + service_principal_id = kwargs['servicePrincipalId'] + if secret is not None: _setter("secret", secret) if service_principal_id is not None: diff --git a/sdk/python/pulumi_databricks/share.py b/sdk/python/pulumi_databricks/share.py index 33281e05..7ca47319 100644 --- a/sdk/python/pulumi_databricks/share.py +++ b/sdk/python/pulumi_databricks/share.py @@ -44,7 +44,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, objects: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectArgs']]]] = None, owner: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if created_at is not None: _setter("created_at", created_at) if created_by is not None: @@ -145,7 +151,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, objects: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectArgs']]]] = None, owner: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if created_at is not None: _setter("created_at", created_at) if created_by is not None: diff --git a/sdk/python/pulumi_databricks/sql_alert.py b/sdk/python/pulumi_databricks/sql_alert.py index ba5226e6..b7ee7e1e 100644 --- a/sdk/python/pulumi_databricks/sql_alert.py +++ b/sdk/python/pulumi_databricks/sql_alert.py @@ -51,7 +51,15 @@ def _configure( parent: Optional[pulumi.Input[str]] = None, rearm: Optional[pulumi.Input[int]] = None, updated_at: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + _setter("options", options) _setter("query_id", query_id) if created_at is not None: @@ -182,7 +190,15 @@ def _configure( query_id: Optional[pulumi.Input[str]] = None, rearm: Optional[pulumi.Input[int]] = None, updated_at: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if created_at is not None: _setter("created_at", created_at) if name is not None: diff --git a/sdk/python/pulumi_databricks/sql_dashboard.py b/sdk/python/pulumi_databricks/sql_dashboard.py index 29fe17bb..b9252b05 100644 --- a/sdk/python/pulumi_databricks/sql_dashboard.py +++ b/sdk/python/pulumi_databricks/sql_dashboard.py @@ -15,6 +15,7 @@ class SqlDashboardArgs: def __init__(__self__, *, created_at: Optional[pulumi.Input[str]] = None, + dashboard_filters_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, parent: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -25,6 +26,7 @@ def __init__(__self__, *, SqlDashboardArgs._configure( lambda key, value: pulumi.set(__self__, key, value), created_at=created_at, + dashboard_filters_enabled=dashboard_filters_enabled, name=name, parent=parent, tags=tags, @@ -34,13 +36,24 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], created_at: Optional[pulumi.Input[str]] = None, + dashboard_filters_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, parent: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, updated_at: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'dashboardFiltersEnabled' in kwargs: + dashboard_filters_enabled = kwargs['dashboardFiltersEnabled'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if created_at is not None: _setter("created_at", created_at) + if dashboard_filters_enabled is not None: + _setter("dashboard_filters_enabled", dashboard_filters_enabled) if name is not None: _setter("name", name) if parent is not None: @@ -59,6 +72,15 @@ def created_at(self) -> Optional[pulumi.Input[str]]: def created_at(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "created_at", value) + @property + @pulumi.getter(name="dashboardFiltersEnabled") + def dashboard_filters_enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "dashboard_filters_enabled") + + @dashboard_filters_enabled.setter + def dashboard_filters_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "dashboard_filters_enabled", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -100,6 +122,7 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): class _SqlDashboardState: def __init__(__self__, *, created_at: Optional[pulumi.Input[str]] = None, + dashboard_filters_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, parent: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -110,6 +133,7 @@ def __init__(__self__, *, _SqlDashboardState._configure( lambda key, value: pulumi.set(__self__, key, value), created_at=created_at, + dashboard_filters_enabled=dashboard_filters_enabled, name=name, parent=parent, tags=tags, @@ -119,13 +143,24 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], created_at: Optional[pulumi.Input[str]] = None, + dashboard_filters_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, parent: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, updated_at: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'dashboardFiltersEnabled' in kwargs: + dashboard_filters_enabled = kwargs['dashboardFiltersEnabled'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if created_at is not None: _setter("created_at", created_at) + if dashboard_filters_enabled is not None: + _setter("dashboard_filters_enabled", dashboard_filters_enabled) if name is not None: _setter("name", name) if parent is not None: @@ -144,6 +179,15 @@ def created_at(self) -> Optional[pulumi.Input[str]]: def created_at(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "created_at", value) + @property + @pulumi.getter(name="dashboardFiltersEnabled") + def dashboard_filters_enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "dashboard_filters_enabled") + + @dashboard_filters_enabled.setter + def dashboard_filters_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "dashboard_filters_enabled", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -187,6 +231,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, created_at: Optional[pulumi.Input[str]] = None, + dashboard_filters_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, parent: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -325,6 +370,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, created_at: Optional[pulumi.Input[str]] = None, + dashboard_filters_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, parent: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -339,6 +385,7 @@ def _internal_init(__self__, __props__ = SqlDashboardArgs.__new__(SqlDashboardArgs) __props__.__dict__["created_at"] = created_at + __props__.__dict__["dashboard_filters_enabled"] = dashboard_filters_enabled __props__.__dict__["name"] = name __props__.__dict__["parent"] = parent __props__.__dict__["tags"] = tags @@ -354,6 +401,7 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, created_at: Optional[pulumi.Input[str]] = None, + dashboard_filters_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, parent: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -371,6 +419,7 @@ def get(resource_name: str, __props__ = _SqlDashboardState.__new__(_SqlDashboardState) __props__.__dict__["created_at"] = created_at + __props__.__dict__["dashboard_filters_enabled"] = dashboard_filters_enabled __props__.__dict__["name"] = name __props__.__dict__["parent"] = parent __props__.__dict__["tags"] = tags @@ -382,6 +431,11 @@ def get(resource_name: str, def created_at(self) -> pulumi.Output[str]: return pulumi.get(self, "created_at") + @property + @pulumi.getter(name="dashboardFiltersEnabled") + def dashboard_filters_enabled(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "dashboard_filters_enabled") + @property @pulumi.getter def name(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_databricks/sql_endpoint.py b/sdk/python/pulumi_databricks/sql_endpoint.py index fe4faf60..057312b3 100644 --- a/sdk/python/pulumi_databricks/sql_endpoint.py +++ b/sdk/python/pulumi_databricks/sql_endpoint.py @@ -94,7 +94,35 @@ def _configure( state: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input['SqlEndpointTagsArgs']] = None, warehouse_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterSize' in kwargs: + cluster_size = kwargs['clusterSize'] + if 'autoStopMins' in kwargs: + auto_stop_mins = kwargs['autoStopMins'] + if 'dataSourceId' in kwargs: + data_source_id = kwargs['dataSourceId'] + if 'enablePhoton' in kwargs: + enable_photon = kwargs['enablePhoton'] + if 'enableServerlessCompute' in kwargs: + enable_serverless_compute = kwargs['enableServerlessCompute'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'jdbcUrl' in kwargs: + jdbc_url = kwargs['jdbcUrl'] + if 'maxNumClusters' in kwargs: + max_num_clusters = kwargs['maxNumClusters'] + if 'minNumClusters' in kwargs: + min_num_clusters = kwargs['minNumClusters'] + if 'numClusters' in kwargs: + num_clusters = kwargs['numClusters'] + if 'odbcParams' in kwargs: + odbc_params = kwargs['odbcParams'] + if 'spotInstancePolicy' in kwargs: + spot_instance_policy = kwargs['spotInstancePolicy'] + if 'warehouseType' in kwargs: + warehouse_type = kwargs['warehouseType'] + _setter("cluster_size", cluster_size) if auto_stop_mins is not None: _setter("auto_stop_mins", auto_stop_mins) @@ -410,7 +438,35 @@ def _configure( state: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input['SqlEndpointTagsArgs']] = None, warehouse_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'autoStopMins' in kwargs: + auto_stop_mins = kwargs['autoStopMins'] + if 'clusterSize' in kwargs: + cluster_size = kwargs['clusterSize'] + if 'dataSourceId' in kwargs: + data_source_id = kwargs['dataSourceId'] + if 'enablePhoton' in kwargs: + enable_photon = kwargs['enablePhoton'] + if 'enableServerlessCompute' in kwargs: + enable_serverless_compute = kwargs['enableServerlessCompute'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'jdbcUrl' in kwargs: + jdbc_url = kwargs['jdbcUrl'] + if 'maxNumClusters' in kwargs: + max_num_clusters = kwargs['maxNumClusters'] + if 'minNumClusters' in kwargs: + min_num_clusters = kwargs['minNumClusters'] + if 'numClusters' in kwargs: + num_clusters = kwargs['numClusters'] + if 'odbcParams' in kwargs: + odbc_params = kwargs['odbcParams'] + if 'spotInstancePolicy' in kwargs: + spot_instance_policy = kwargs['spotInstancePolicy'] + if 'warehouseType' in kwargs: + warehouse_type = kwargs['warehouseType'] + if auto_stop_mins is not None: _setter("auto_stop_mins", auto_stop_mins) if channel is not None: diff --git a/sdk/python/pulumi_databricks/sql_global_config.py b/sdk/python/pulumi_databricks/sql_global_config.py index 08774bae..080f00f6 100644 --- a/sdk/python/pulumi_databricks/sql_global_config.py +++ b/sdk/python/pulumi_databricks/sql_global_config.py @@ -46,7 +46,21 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, security_policy: Optional[pulumi.Input[str]] = None, sql_config_params: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataAccessConfig' in kwargs: + data_access_config = kwargs['dataAccessConfig'] + if 'enableServerlessCompute' in kwargs: + enable_serverless_compute = kwargs['enableServerlessCompute'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'securityPolicy' in kwargs: + security_policy = kwargs['securityPolicy'] + if 'sqlConfigParams' in kwargs: + sql_config_params = kwargs['sqlConfigParams'] + if data_access_config is not None: _setter("data_access_config", data_access_config) if enable_serverless_compute is not None: @@ -171,7 +185,21 @@ def _configure( instance_profile_arn: Optional[pulumi.Input[str]] = None, security_policy: Optional[pulumi.Input[str]] = None, sql_config_params: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataAccessConfig' in kwargs: + data_access_config = kwargs['dataAccessConfig'] + if 'enableServerlessCompute' in kwargs: + enable_serverless_compute = kwargs['enableServerlessCompute'] + if 'googleServiceAccount' in kwargs: + google_service_account = kwargs['googleServiceAccount'] + if 'instanceProfileArn' in kwargs: + instance_profile_arn = kwargs['instanceProfileArn'] + if 'securityPolicy' in kwargs: + security_policy = kwargs['securityPolicy'] + if 'sqlConfigParams' in kwargs: + sql_config_params = kwargs['sqlConfigParams'] + if data_access_config is not None: _setter("data_access_config", data_access_config) if enable_serverless_compute is not None: diff --git a/sdk/python/pulumi_databricks/sql_permissions.py b/sdk/python/pulumi_databricks/sql_permissions.py index 16c6e8ab..c834ea8b 100644 --- a/sdk/python/pulumi_databricks/sql_permissions.py +++ b/sdk/python/pulumi_databricks/sql_permissions.py @@ -55,7 +55,17 @@ def _configure( privilege_assignments: Optional[pulumi.Input[Sequence[pulumi.Input['SqlPermissionsPrivilegeAssignmentArgs']]]] = None, table: Optional[pulumi.Input[str]] = None, view: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'anonymousFunction' in kwargs: + anonymous_function = kwargs['anonymousFunction'] + if 'anyFile' in kwargs: + any_file = kwargs['anyFile'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'privilegeAssignments' in kwargs: + privilege_assignments = kwargs['privilegeAssignments'] + if anonymous_function is not None: _setter("anonymous_function", anonymous_function) if any_file is not None: @@ -206,7 +216,17 @@ def _configure( privilege_assignments: Optional[pulumi.Input[Sequence[pulumi.Input['SqlPermissionsPrivilegeAssignmentArgs']]]] = None, table: Optional[pulumi.Input[str]] = None, view: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'anonymousFunction' in kwargs: + anonymous_function = kwargs['anonymousFunction'] + if 'anyFile' in kwargs: + any_file = kwargs['anyFile'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'privilegeAssignments' in kwargs: + privilege_assignments = kwargs['privilegeAssignments'] + if anonymous_function is not None: _setter("anonymous_function", anonymous_function) if any_file is not None: diff --git a/sdk/python/pulumi_databricks/sql_query.py b/sdk/python/pulumi_databricks/sql_query.py index 88619da0..0c87aff5 100644 --- a/sdk/python/pulumi_databricks/sql_query.py +++ b/sdk/python/pulumi_databricks/sql_query.py @@ -29,6 +29,12 @@ def __init__(__self__, *, updated_at: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a SqlQuery resource. + :param pulumi.Input[str] data_source_id: Data source ID of a SQL warehouse + :param pulumi.Input[str] query: The text of the query to be run. + :param pulumi.Input[str] description: General description that conveys additional information about this query such as usage notes. + :param pulumi.Input[str] name: The title of this query that appears in list views, widget headings, and on the query page. + :param pulumi.Input[str] parent: The identifier of the workspace folder containing the object. + :param pulumi.Input[str] run_as_role: Run as role. Possible values are `viewer`, `owner`. """ SqlQueryArgs._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -58,7 +64,17 @@ def _configure( schedule: Optional[pulumi.Input['SqlQueryScheduleArgs']] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, updated_at: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataSourceId' in kwargs: + data_source_id = kwargs['dataSourceId'] + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'runAsRole' in kwargs: + run_as_role = kwargs['runAsRole'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + _setter("data_source_id", data_source_id) _setter("query", query) if created_at is not None: @@ -86,6 +102,9 @@ def _configure( @property @pulumi.getter(name="dataSourceId") def data_source_id(self) -> pulumi.Input[str]: + """ + Data source ID of a SQL warehouse + """ return pulumi.get(self, "data_source_id") @data_source_id.setter @@ -95,6 +114,9 @@ def data_source_id(self, value: pulumi.Input[str]): @property @pulumi.getter def query(self) -> pulumi.Input[str]: + """ + The text of the query to be run. + """ return pulumi.get(self, "query") @query.setter @@ -113,6 +135,9 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + General description that conveys additional information about this query such as usage notes. + """ return pulumi.get(self, "description") @description.setter @@ -122,6 +147,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: + """ + The title of this query that appears in list views, widget headings, and on the query page. + """ return pulumi.get(self, "name") @name.setter @@ -140,6 +168,9 @@ def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SqlQuer @property @pulumi.getter def parent(self) -> Optional[pulumi.Input[str]]: + """ + The identifier of the workspace folder containing the object. + """ return pulumi.get(self, "parent") @parent.setter @@ -149,6 +180,9 @@ def parent(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="runAsRole") def run_as_role(self) -> Optional[pulumi.Input[str]]: + """ + Run as role. Possible values are `viewer`, `owner`. + """ return pulumi.get(self, "run_as_role") @run_as_role.setter @@ -202,6 +236,12 @@ def __init__(__self__, *, updated_at: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering SqlQuery resources. + :param pulumi.Input[str] data_source_id: Data source ID of a SQL warehouse + :param pulumi.Input[str] description: General description that conveys additional information about this query such as usage notes. + :param pulumi.Input[str] name: The title of this query that appears in list views, widget headings, and on the query page. + :param pulumi.Input[str] parent: The identifier of the workspace folder containing the object. + :param pulumi.Input[str] query: The text of the query to be run. + :param pulumi.Input[str] run_as_role: Run as role. Possible values are `viewer`, `owner`. """ _SqlQueryState._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -231,7 +271,17 @@ def _configure( schedule: Optional[pulumi.Input['SqlQueryScheduleArgs']] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, updated_at: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if 'dataSourceId' in kwargs: + data_source_id = kwargs['dataSourceId'] + if 'runAsRole' in kwargs: + run_as_role = kwargs['runAsRole'] + if 'updatedAt' in kwargs: + updated_at = kwargs['updatedAt'] + if created_at is not None: _setter("created_at", created_at) if data_source_id is not None: @@ -270,6 +320,9 @@ def created_at(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="dataSourceId") def data_source_id(self) -> Optional[pulumi.Input[str]]: + """ + Data source ID of a SQL warehouse + """ return pulumi.get(self, "data_source_id") @data_source_id.setter @@ -279,6 +332,9 @@ def data_source_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + General description that conveys additional information about this query such as usage notes. + """ return pulumi.get(self, "description") @description.setter @@ -288,6 +344,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: + """ + The title of this query that appears in list views, widget headings, and on the query page. + """ return pulumi.get(self, "name") @name.setter @@ -306,6 +365,9 @@ def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SqlQuer @property @pulumi.getter def parent(self) -> Optional[pulumi.Input[str]]: + """ + The identifier of the workspace folder containing the object. + """ return pulumi.get(self, "parent") @parent.setter @@ -315,6 +377,9 @@ def parent(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def query(self) -> Optional[pulumi.Input[str]]: + """ + The text of the query to be run. + """ return pulumi.get(self, "query") @query.setter @@ -324,6 +389,9 @@ def query(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="runAsRole") def run_as_role(self) -> Optional[pulumi.Input[str]]: + """ + Run as role. Possible values are `viewer`, `owner`. + """ return pulumi.get(self, "run_as_role") @run_as_role.setter @@ -486,6 +554,12 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_source_id: Data source ID of a SQL warehouse + :param pulumi.Input[str] description: General description that conveys additional information about this query such as usage notes. + :param pulumi.Input[str] name: The title of this query that appears in list views, widget headings, and on the query page. + :param pulumi.Input[str] parent: The identifier of the workspace folder containing the object. + :param pulumi.Input[str] query: The text of the query to be run. + :param pulumi.Input[str] run_as_role: Run as role. Possible values are `viewer`, `owner`. """ ... @overload @@ -686,6 +760,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] data_source_id: Data source ID of a SQL warehouse + :param pulumi.Input[str] description: General description that conveys additional information about this query such as usage notes. + :param pulumi.Input[str] name: The title of this query that appears in list views, widget headings, and on the query page. + :param pulumi.Input[str] parent: The identifier of the workspace folder containing the object. + :param pulumi.Input[str] query: The text of the query to be run. + :param pulumi.Input[str] run_as_role: Run as role. Possible values are `viewer`, `owner`. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -712,16 +792,25 @@ def created_at(self) -> pulumi.Output[str]: @property @pulumi.getter(name="dataSourceId") def data_source_id(self) -> pulumi.Output[str]: + """ + Data source ID of a SQL warehouse + """ return pulumi.get(self, "data_source_id") @property @pulumi.getter def description(self) -> pulumi.Output[Optional[str]]: + """ + General description that conveys additional information about this query such as usage notes. + """ return pulumi.get(self, "description") @property @pulumi.getter def name(self) -> pulumi.Output[str]: + """ + The title of this query that appears in list views, widget headings, and on the query page. + """ return pulumi.get(self, "name") @property @@ -732,16 +821,25 @@ def parameters(self) -> pulumi.Output[Optional[Sequence['outputs.SqlQueryParamet @property @pulumi.getter def parent(self) -> pulumi.Output[Optional[str]]: + """ + The identifier of the workspace folder containing the object. + """ return pulumi.get(self, "parent") @property @pulumi.getter def query(self) -> pulumi.Output[str]: + """ + The text of the query to be run. + """ return pulumi.get(self, "query") @property @pulumi.getter(name="runAsRole") def run_as_role(self) -> pulumi.Output[Optional[str]]: + """ + Run as role. Possible values are `viewer`, `owner`. + """ return pulumi.get(self, "run_as_role") @property diff --git a/sdk/python/pulumi_databricks/sql_table.py b/sdk/python/pulumi_databricks/sql_table.py index 322f69bf..8413d681 100644 --- a/sdk/python/pulumi_databricks/sql_table.py +++ b/sdk/python/pulumi_databricks/sql_table.py @@ -71,7 +71,25 @@ def _configure( storage_credential_name: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None, view_definition: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'schemaName' in kwargs: + schema_name = kwargs['schemaName'] + if 'tableType' in kwargs: + table_type = kwargs['tableType'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'dataSourceFormat' in kwargs: + data_source_format = kwargs['dataSourceFormat'] + if 'storageCredentialName' in kwargs: + storage_credential_name = kwargs['storageCredentialName'] + if 'storageLocation' in kwargs: + storage_location = kwargs['storageLocation'] + if 'viewDefinition' in kwargs: + view_definition = kwargs['viewDefinition'] + _setter("catalog_name", catalog_name) _setter("schema_name", schema_name) _setter("table_type", table_type) @@ -291,7 +309,25 @@ def _configure( storage_location: Optional[pulumi.Input[str]] = None, table_type: Optional[pulumi.Input[str]] = None, view_definition: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'dataSourceFormat' in kwargs: + data_source_format = kwargs['dataSourceFormat'] + if 'schemaName' in kwargs: + schema_name = kwargs['schemaName'] + if 'storageCredentialName' in kwargs: + storage_credential_name = kwargs['storageCredentialName'] + if 'storageLocation' in kwargs: + storage_location = kwargs['storageLocation'] + if 'tableType' in kwargs: + table_type = kwargs['tableType'] + if 'viewDefinition' in kwargs: + view_definition = kwargs['viewDefinition'] + if catalog_name is not None: _setter("catalog_name", catalog_name) if cluster_id is not None: diff --git a/sdk/python/pulumi_databricks/sql_visualization.py b/sdk/python/pulumi_databricks/sql_visualization.py index 97e147fc..d289bbe9 100644 --- a/sdk/python/pulumi_databricks/sql_visualization.py +++ b/sdk/python/pulumi_databricks/sql_visualization.py @@ -44,7 +44,15 @@ def _configure( name: Optional[pulumi.Input[str]] = None, query_plan: Optional[pulumi.Input[str]] = None, visualization_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + if 'queryPlan' in kwargs: + query_plan = kwargs['queryPlan'] + if 'visualizationId' in kwargs: + visualization_id = kwargs['visualizationId'] + _setter("options", options) _setter("query_id", query_id) _setter("type", type) @@ -154,7 +162,15 @@ def _configure( query_plan: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, visualization_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'queryId' in kwargs: + query_id = kwargs['queryId'] + if 'queryPlan' in kwargs: + query_plan = kwargs['queryPlan'] + if 'visualizationId' in kwargs: + visualization_id = kwargs['visualizationId'] + if description is not None: _setter("description", description) if name is not None: diff --git a/sdk/python/pulumi_databricks/sql_widget.py b/sdk/python/pulumi_databricks/sql_widget.py index 1b3a14d1..eab0adb1 100644 --- a/sdk/python/pulumi_databricks/sql_widget.py +++ b/sdk/python/pulumi_databricks/sql_widget.py @@ -49,7 +49,15 @@ def _configure( title: Optional[pulumi.Input[str]] = None, visualization_id: Optional[pulumi.Input[str]] = None, widget_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dashboardId' in kwargs: + dashboard_id = kwargs['dashboardId'] + if 'visualizationId' in kwargs: + visualization_id = kwargs['visualizationId'] + if 'widgetId' in kwargs: + widget_id = kwargs['widgetId'] + _setter("dashboard_id", dashboard_id) if description is not None: _setter("description", description) @@ -175,7 +183,15 @@ def _configure( title: Optional[pulumi.Input[str]] = None, visualization_id: Optional[pulumi.Input[str]] = None, widget_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dashboardId' in kwargs: + dashboard_id = kwargs['dashboardId'] + if 'visualizationId' in kwargs: + visualization_id = kwargs['visualizationId'] + if 'widgetId' in kwargs: + widget_id = kwargs['widgetId'] + if dashboard_id is not None: _setter("dashboard_id", dashboard_id) if description is not None: diff --git a/sdk/python/pulumi_databricks/storage_credential.py b/sdk/python/pulumi_databricks/storage_credential.py index 572d2fa4..db1708f1 100644 --- a/sdk/python/pulumi_databricks/storage_credential.py +++ b/sdk/python/pulumi_databricks/storage_credential.py @@ -67,7 +67,25 @@ def _configure( name: Optional[pulumi.Input[str]] = None, owner: Optional[pulumi.Input[str]] = None, read_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsIamRole' in kwargs: + aws_iam_role = kwargs['awsIamRole'] + if 'azureManagedIdentity' in kwargs: + azure_managed_identity = kwargs['azureManagedIdentity'] + if 'azureServicePrincipal' in kwargs: + azure_service_principal = kwargs['azureServicePrincipal'] + if 'databricksGcpServiceAccount' in kwargs: + databricks_gcp_service_account = kwargs['databricksGcpServiceAccount'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'gcpServiceAccountKey' in kwargs: + gcp_service_account_key = kwargs['gcpServiceAccountKey'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + if aws_iam_role is not None: _setter("aws_iam_role", aws_iam_role) if azure_managed_identity is not None: @@ -264,7 +282,25 @@ def _configure( name: Optional[pulumi.Input[str]] = None, owner: Optional[pulumi.Input[str]] = None, read_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'awsIamRole' in kwargs: + aws_iam_role = kwargs['awsIamRole'] + if 'azureManagedIdentity' in kwargs: + azure_managed_identity = kwargs['azureManagedIdentity'] + if 'azureServicePrincipal' in kwargs: + azure_service_principal = kwargs['azureServicePrincipal'] + if 'databricksGcpServiceAccount' in kwargs: + databricks_gcp_service_account = kwargs['databricksGcpServiceAccount'] + if 'forceDestroy' in kwargs: + force_destroy = kwargs['forceDestroy'] + if 'gcpServiceAccountKey' in kwargs: + gcp_service_account_key = kwargs['gcpServiceAccountKey'] + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + if aws_iam_role is not None: _setter("aws_iam_role", aws_iam_role) if azure_managed_identity is not None: diff --git a/sdk/python/pulumi_databricks/system_schema.py b/sdk/python/pulumi_databricks/system_schema.py new file mode 100644 index 00000000..1dbe751a --- /dev/null +++ b/sdk/python/pulumi_databricks/system_schema.py @@ -0,0 +1,294 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['SystemSchemaArgs', 'SystemSchema'] + +@pulumi.input_type +class SystemSchemaArgs: + def __init__(__self__, *, + schema: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SystemSchema resource. + :param pulumi.Input[str] schema: Full name of the system schema. + :param pulumi.Input[str] state: The current state of enablement for the system schema. + """ + SystemSchemaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + schema=schema, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schema: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if schema is not None: + _setter("schema", schema) + if state is not None: + _setter("state", state) + + @property + @pulumi.getter + def schema(self) -> Optional[pulumi.Input[str]]: + """ + Full name of the system schema. + """ + return pulumi.get(self, "schema") + + @schema.setter + def schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of enablement for the system schema. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + +@pulumi.input_type +class _SystemSchemaState: + def __init__(__self__, *, + metastore_id: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering SystemSchema resources. + :param pulumi.Input[str] schema: Full name of the system schema. + :param pulumi.Input[str] state: The current state of enablement for the system schema. + """ + _SystemSchemaState._configure( + lambda key, value: pulumi.set(__self__, key, value), + metastore_id=metastore_id, + schema=schema, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metastore_id: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metastoreId' in kwargs: + metastore_id = kwargs['metastoreId'] + + if metastore_id is not None: + _setter("metastore_id", metastore_id) + if schema is not None: + _setter("schema", schema) + if state is not None: + _setter("state", state) + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "metastore_id") + + @metastore_id.setter + def metastore_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metastore_id", value) + + @property + @pulumi.getter + def schema(self) -> Optional[pulumi.Input[str]]: + """ + Full name of the system schema. + """ + return pulumi.get(self, "schema") + + @schema.setter + def schema(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schema", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of enablement for the system schema. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + +class SystemSchema(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + schema: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + > **Notes** + Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future. + + Manages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin. + + ## Example Usage + + Enable the system schema `access` + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.SystemSchema("this", schema="access") + ``` + + ## Import + + This resource can be imported by the metastore id and schema name bash + + ```sh + $ pulumi import databricks:index/systemSchema:SystemSchema this | + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] schema: Full name of the system schema. + :param pulumi.Input[str] state: The current state of enablement for the system schema. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[SystemSchemaArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). + + > **Notes** + Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future. + + Manages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin. + + ## Example Usage + + Enable the system schema `access` + + ```python + import pulumi + import pulumi_databricks as databricks + + this = databricks.SystemSchema("this", schema="access") + ``` + + ## Import + + This resource can be imported by the metastore id and schema name bash + + ```sh + $ pulumi import databricks:index/systemSchema:SystemSchema this | + ``` + + :param str resource_name: The name of the resource. + :param SystemSchemaArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SystemSchemaArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SystemSchemaArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + schema: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SystemSchemaArgs.__new__(SystemSchemaArgs) + + __props__.__dict__["schema"] = schema + __props__.__dict__["state"] = state + __props__.__dict__["metastore_id"] = None + super(SystemSchema, __self__).__init__( + 'databricks:index/systemSchema:SystemSchema', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + schema: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None) -> 'SystemSchema': + """ + Get an existing SystemSchema resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] schema: Full name of the system schema. + :param pulumi.Input[str] state: The current state of enablement for the system schema. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SystemSchemaState.__new__(_SystemSchemaState) + + __props__.__dict__["metastore_id"] = metastore_id + __props__.__dict__["schema"] = schema + __props__.__dict__["state"] = state + return SystemSchema(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="metastoreId") + def metastore_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "metastore_id") + + @property + @pulumi.getter + def schema(self) -> pulumi.Output[Optional[str]]: + """ + Full name of the system schema. + """ + return pulumi.get(self, "schema") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current state of enablement for the system schema. + """ + return pulumi.get(self, "state") + diff --git a/sdk/python/pulumi_databricks/table.py b/sdk/python/pulumi_databricks/table.py index a04b4806..e34647d3 100644 --- a/sdk/python/pulumi_databricks/table.py +++ b/sdk/python/pulumi_databricks/table.py @@ -61,7 +61,23 @@ def _configure( storage_credential_name: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None, view_definition: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'dataSourceFormat' in kwargs: + data_source_format = kwargs['dataSourceFormat'] + if 'schemaName' in kwargs: + schema_name = kwargs['schemaName'] + if 'tableType' in kwargs: + table_type = kwargs['tableType'] + if 'storageCredentialName' in kwargs: + storage_credential_name = kwargs['storageCredentialName'] + if 'storageLocation' in kwargs: + storage_location = kwargs['storageLocation'] + if 'viewDefinition' in kwargs: + view_definition = kwargs['viewDefinition'] + _setter("catalog_name", catalog_name) _setter("columns", columns) _setter("data_source_format", data_source_format) @@ -239,7 +255,23 @@ def _configure( storage_location: Optional[pulumi.Input[str]] = None, table_type: Optional[pulumi.Input[str]] = None, view_definition: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'dataSourceFormat' in kwargs: + data_source_format = kwargs['dataSourceFormat'] + if 'schemaName' in kwargs: + schema_name = kwargs['schemaName'] + if 'storageCredentialName' in kwargs: + storage_credential_name = kwargs['storageCredentialName'] + if 'storageLocation' in kwargs: + storage_location = kwargs['storageLocation'] + if 'tableType' in kwargs: + table_type = kwargs['tableType'] + if 'viewDefinition' in kwargs: + view_definition = kwargs['viewDefinition'] + if catalog_name is not None: _setter("catalog_name", catalog_name) if columns is not None: diff --git a/sdk/python/pulumi_databricks/token.py b/sdk/python/pulumi_databricks/token.py index e7b8962b..3c11b319 100644 --- a/sdk/python/pulumi_databricks/token.py +++ b/sdk/python/pulumi_databricks/token.py @@ -40,7 +40,17 @@ def _configure( expiry_time: Optional[pulumi.Input[int]] = None, lifetime_seconds: Optional[pulumi.Input[int]] = None, token_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'expiryTime' in kwargs: + expiry_time = kwargs['expiryTime'] + if 'lifetimeSeconds' in kwargs: + lifetime_seconds = kwargs['lifetimeSeconds'] + if 'tokenId' in kwargs: + token_id = kwargs['tokenId'] + if comment is not None: _setter("comment", comment) if creation_time is not None: @@ -137,7 +147,19 @@ def _configure( lifetime_seconds: Optional[pulumi.Input[int]] = None, token_id: Optional[pulumi.Input[str]] = None, token_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'creationTime' in kwargs: + creation_time = kwargs['creationTime'] + if 'expiryTime' in kwargs: + expiry_time = kwargs['expiryTime'] + if 'lifetimeSeconds' in kwargs: + lifetime_seconds = kwargs['lifetimeSeconds'] + if 'tokenId' in kwargs: + token_id = kwargs['tokenId'] + if 'tokenValue' in kwargs: + token_value = kwargs['tokenValue'] + if comment is not None: _setter("comment", comment) if creation_time is not None: diff --git a/sdk/python/pulumi_databricks/user.py b/sdk/python/pulumi_databricks/user.py index ecfbc87d..e26c395c 100644 --- a/sdk/python/pulumi_databricks/user.py +++ b/sdk/python/pulumi_databricks/user.py @@ -31,7 +31,7 @@ def __init__(__self__, *, workspace_access: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a User resource. - :param pulumi.Input[str] user_name: This is the username of the given user and will be their form of access and identity. + :param pulumi.Input[str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. :param pulumi.Input[str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`. :param pulumi.Input[bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets. :param pulumi.Input[bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy. @@ -81,7 +81,31 @@ def _configure( home: Optional[pulumi.Input[str]] = None, repos: Optional[pulumi.Input[str]] = None, workspace_access: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userName' in kwargs: + user_name = kwargs['userName'] + if 'aclPrincipalId' in kwargs: + acl_principal_id = kwargs['aclPrincipalId'] + if 'allowClusterCreate' in kwargs: + allow_cluster_create = kwargs['allowClusterCreate'] + if 'allowInstancePoolCreate' in kwargs: + allow_instance_pool_create = kwargs['allowInstancePoolCreate'] + if 'databricksSqlAccess' in kwargs: + databricks_sql_access = kwargs['databricksSqlAccess'] + if 'disableAsUserDeletion' in kwargs: + disable_as_user_deletion = kwargs['disableAsUserDeletion'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'forceDeleteHomeDir' in kwargs: + force_delete_home_dir = kwargs['forceDeleteHomeDir'] + if 'forceDeleteRepos' in kwargs: + force_delete_repos = kwargs['forceDeleteRepos'] + if 'workspaceAccess' in kwargs: + workspace_access = kwargs['workspaceAccess'] + _setter("user_name", user_name) if acl_principal_id is not None: _setter("acl_principal_id", acl_principal_id) @@ -116,7 +140,7 @@ def _configure( @pulumi.getter(name="userName") def user_name(self) -> pulumi.Input[str]: """ - This is the username of the given user and will be their form of access and identity. + This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. """ return pulumi.get(self, "user_name") @@ -319,7 +343,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default. :param pulumi.Input[str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`. :param pulumi.Input[str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`. - :param pulumi.Input[str] user_name: This is the username of the given user and will be their form of access and identity. + :param pulumi.Input[str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. """ _UserState._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -357,7 +381,31 @@ def _configure( repos: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, workspace_access: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aclPrincipalId' in kwargs: + acl_principal_id = kwargs['aclPrincipalId'] + if 'allowClusterCreate' in kwargs: + allow_cluster_create = kwargs['allowClusterCreate'] + if 'allowInstancePoolCreate' in kwargs: + allow_instance_pool_create = kwargs['allowInstancePoolCreate'] + if 'databricksSqlAccess' in kwargs: + databricks_sql_access = kwargs['databricksSqlAccess'] + if 'disableAsUserDeletion' in kwargs: + disable_as_user_deletion = kwargs['disableAsUserDeletion'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'externalId' in kwargs: + external_id = kwargs['externalId'] + if 'forceDeleteHomeDir' in kwargs: + force_delete_home_dir = kwargs['forceDeleteHomeDir'] + if 'forceDeleteRepos' in kwargs: + force_delete_repos = kwargs['forceDeleteRepos'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if 'workspaceAccess' in kwargs: + workspace_access = kwargs['workspaceAccess'] + if acl_principal_id is not None: _setter("acl_principal_id", acl_principal_id) if active is not None: @@ -546,7 +594,7 @@ def repos(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userName") def user_name(self) -> Optional[pulumi.Input[str]]: """ - This is the username of the given user and will be their form of access and identity. + This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. """ return pulumi.get(self, "user_name") @@ -696,7 +744,7 @@ def __init__(__self__, :param pulumi.Input[bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default. :param pulumi.Input[str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`. :param pulumi.Input[str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`. - :param pulumi.Input[str] user_name: This is the username of the given user and will be their form of access and identity. + :param pulumi.Input[str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. """ ... @overload @@ -905,7 +953,7 @@ def get(resource_name: str, :param pulumi.Input[bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default. :param pulumi.Input[str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`. :param pulumi.Input[str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`. - :param pulumi.Input[str] user_name: This is the username of the given user and will be their form of access and identity. + :param pulumi.Input[str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -1033,7 +1081,7 @@ def repos(self) -> pulumi.Output[str]: @pulumi.getter(name="userName") def user_name(self) -> pulumi.Output[str]: """ - This is the username of the given user and will be their form of access and identity. + This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters. """ return pulumi.get(self, "user_name") diff --git a/sdk/python/pulumi_databricks/user_instance_profile.py b/sdk/python/pulumi_databricks/user_instance_profile.py index cef093d3..35b75f7c 100644 --- a/sdk/python/pulumi_databricks/user_instance_profile.py +++ b/sdk/python/pulumi_databricks/user_instance_profile.py @@ -31,7 +31,13 @@ def _configure( _setter: Callable[[Any, Any], None], instance_profile_id: pulumi.Input[str], user_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'instanceProfileId' in kwargs: + instance_profile_id = kwargs['instanceProfileId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + _setter("instance_profile_id", instance_profile_id) _setter("user_id", user_id) @@ -80,7 +86,13 @@ def _configure( _setter: Callable[[Any, Any], None], instance_profile_id: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'instanceProfileId' in kwargs: + instance_profile_id = kwargs['instanceProfileId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if instance_profile_id is not None: _setter("instance_profile_id", instance_profile_id) if user_id is not None: diff --git a/sdk/python/pulumi_databricks/user_role.py b/sdk/python/pulumi_databricks/user_role.py index f9e6624f..122f0a0c 100644 --- a/sdk/python/pulumi_databricks/user_role.py +++ b/sdk/python/pulumi_databricks/user_role.py @@ -31,7 +31,11 @@ def _configure( _setter: Callable[[Any, Any], None], role: pulumi.Input[str], user_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userId' in kwargs: + user_id = kwargs['userId'] + _setter("role", role) _setter("user_id", user_id) @@ -80,7 +84,11 @@ def _configure( _setter: Callable[[Any, Any], None], role: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userId' in kwargs: + user_id = kwargs['userId'] + if role is not None: _setter("role", role) if user_id is not None: diff --git a/sdk/python/pulumi_databricks/volume.py b/sdk/python/pulumi_databricks/volume.py index ee5d5106..2906992b 100644 --- a/sdk/python/pulumi_databricks/volume.py +++ b/sdk/python/pulumi_databricks/volume.py @@ -25,11 +25,11 @@ def __init__(__self__, *, The set of arguments for constructing a Volume resource. :param pulumi.Input[str] catalog_name: Name of parent Catalog. Change forces creation of a new resource. :param pulumi.Input[str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. - :param pulumi.Input[str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. + :param pulumi.Input[str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. :param pulumi.Input[str] comment: Free-form text. :param pulumi.Input[str] name: Name of the Volume :param pulumi.Input[str] owner: Name of the volume owner. - :param pulumi.Input[str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. + :param pulumi.Input[str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. """ VolumeArgs._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -51,7 +51,17 @@ def _configure( name: Optional[pulumi.Input[str]] = None, owner: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'schemaName' in kwargs: + schema_name = kwargs['schemaName'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + if 'storageLocation' in kwargs: + storage_location = kwargs['storageLocation'] + _setter("catalog_name", catalog_name) _setter("schema_name", schema_name) _setter("volume_type", volume_type) @@ -92,7 +102,7 @@ def schema_name(self, value: pulumi.Input[str]): @pulumi.getter(name="volumeType") def volume_type(self) -> pulumi.Input[str]: """ - Volume type. `EXTERNAL` or `MANAGED`. + Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. """ return pulumi.get(self, "volume_type") @@ -140,7 +150,7 @@ def owner(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="storageLocation") def storage_location(self) -> Optional[pulumi.Input[str]]: """ - Path inside an External Location. Only used for `EXTERNAL` Volumes. + Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. """ return pulumi.get(self, "storage_location") @@ -166,8 +176,8 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the Volume :param pulumi.Input[str] owner: Name of the volume owner. :param pulumi.Input[str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. - :param pulumi.Input[str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. - :param pulumi.Input[str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. + :param pulumi.Input[str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. + :param pulumi.Input[str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. """ _VolumeState._configure( lambda key, value: pulumi.set(__self__, key, value), @@ -189,7 +199,17 @@ def _configure( schema_name: Optional[pulumi.Input[str]] = None, storage_location: Optional[pulumi.Input[str]] = None, volume_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'catalogName' in kwargs: + catalog_name = kwargs['catalogName'] + if 'schemaName' in kwargs: + schema_name = kwargs['schemaName'] + if 'storageLocation' in kwargs: + storage_location = kwargs['storageLocation'] + if 'volumeType' in kwargs: + volume_type = kwargs['volumeType'] + if catalog_name is not None: _setter("catalog_name", catalog_name) if comment is not None: @@ -269,7 +289,7 @@ def schema_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="storageLocation") def storage_location(self) -> Optional[pulumi.Input[str]]: """ - Path inside an External Location. Only used for `EXTERNAL` Volumes. + Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. """ return pulumi.get(self, "storage_location") @@ -281,7 +301,7 @@ def storage_location(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="volumeType") def volume_type(self) -> Optional[pulumi.Input[str]]: """ - Volume type. `EXTERNAL` or `MANAGED`. + Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. """ return pulumi.get(self, "volume_type") @@ -373,8 +393,8 @@ def __init__(__self__, :param pulumi.Input[str] name: Name of the Volume :param pulumi.Input[str] owner: Name of the volume owner. :param pulumi.Input[str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. - :param pulumi.Input[str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. - :param pulumi.Input[str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. + :param pulumi.Input[str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. + :param pulumi.Input[str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. """ ... @overload @@ -522,8 +542,8 @@ def get(resource_name: str, :param pulumi.Input[str] name: Name of the Volume :param pulumi.Input[str] owner: Name of the volume owner. :param pulumi.Input[str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource. - :param pulumi.Input[str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. - :param pulumi.Input[str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. + :param pulumi.Input[str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. + :param pulumi.Input[str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -582,7 +602,7 @@ def schema_name(self) -> pulumi.Output[str]: @pulumi.getter(name="storageLocation") def storage_location(self) -> pulumi.Output[Optional[str]]: """ - Path inside an External Location. Only used for `EXTERNAL` Volumes. + Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource. """ return pulumi.get(self, "storage_location") @@ -590,7 +610,7 @@ def storage_location(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="volumeType") def volume_type(self) -> pulumi.Output[str]: """ - Volume type. `EXTERNAL` or `MANAGED`. + Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource. """ return pulumi.get(self, "volume_type") diff --git a/sdk/python/pulumi_databricks/workspace_conf.py b/sdk/python/pulumi_databricks/workspace_conf.py index c471eb26..8bf633ad 100644 --- a/sdk/python/pulumi_databricks/workspace_conf.py +++ b/sdk/python/pulumi_databricks/workspace_conf.py @@ -27,7 +27,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], custom_config: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customConfig' in kwargs: + custom_config = kwargs['customConfig'] + if custom_config is not None: _setter("custom_config", custom_config) @@ -60,7 +64,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], custom_config: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customConfig' in kwargs: + custom_config = kwargs['customConfig'] + if custom_config is not None: _setter("custom_config", custom_config) diff --git a/sdk/python/pulumi_databricks/workspace_file.py b/sdk/python/pulumi_databricks/workspace_file.py index d0da54b6..4ff6e44a 100644 --- a/sdk/python/pulumi_databricks/workspace_file.py +++ b/sdk/python/pulumi_databricks/workspace_file.py @@ -41,7 +41,13 @@ def _configure( md5: Optional[pulumi.Input[str]] = None, object_id: Optional[pulumi.Input[int]] = None, source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contentBase64' in kwargs: + content_base64 = kwargs['contentBase64'] + if 'objectId' in kwargs: + object_id = kwargs['objectId'] + _setter("path", path) if content_base64 is not None: _setter("content_base64", content_base64) @@ -141,7 +147,13 @@ def _configure( path: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contentBase64' in kwargs: + content_base64 = kwargs['contentBase64'] + if 'objectId' in kwargs: + object_id = kwargs['objectId'] + if content_base64 is not None: _setter("content_base64", content_base64) if md5 is not None: