diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index e9902b81..da59f18c 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -5,7 +5,7 @@ plugins { id("signing") id("java-library") id("maven-publish") - id("io.github.gradle-nexus.publish-plugin") version "1.1.0" + id("io.github.gradle-nexus.publish-plugin") version "2.0.0" } group = "com.pulumi" @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.17.0") + implementation("com.pulumi:pulumi:0.18.0") } task sourcesJar(type: Jar) { diff --git a/sdk/nodejs/getAwsAssumeRolePolicy.ts b/sdk/nodejs/getAwsAssumeRolePolicy.ts index c19b3a9b..846f85c1 100644 --- a/sdk/nodejs/getAwsAssumeRolePolicy.ts +++ b/sdk/nodejs/getAwsAssumeRolePolicy.ts @@ -140,7 +140,7 @@ export interface GetAwsAssumeRolePolicyResult { * * databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it. * * databricks.getAwsCrossAccountPolicy data to construct the necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default). */ -export function getAwsAssumeRolePolicyOutput(args: GetAwsAssumeRolePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAwsAssumeRolePolicyOutput(args: GetAwsAssumeRolePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", { "databricksAccountId": args.databricksAccountId, diff --git a/sdk/nodejs/getAwsBucketPolicy.ts b/sdk/nodejs/getAwsBucketPolicy.ts index 627365d7..36d55a40 100644 --- a/sdk/nodejs/getAwsBucketPolicy.ts +++ b/sdk/nodejs/getAwsBucketPolicy.ts @@ -100,7 +100,7 @@ export interface GetAwsBucketPolicyResult { * * Bucket policy with full access: */ -export function getAwsBucketPolicyOutput(args: GetAwsBucketPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAwsBucketPolicyOutput(args: GetAwsBucketPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", { "bucket": args.bucket, diff --git a/sdk/nodejs/getAwsCrossAccountPolicy.ts b/sdk/nodejs/getAwsCrossAccountPolicy.ts index 44dbbfc0..31c555de 100644 --- a/sdk/nodejs/getAwsCrossAccountPolicy.ts +++ b/sdk/nodejs/getAwsCrossAccountPolicy.ts @@ -117,7 +117,7 @@ export interface GetAwsCrossAccountPolicyResult { * * databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it. * * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount. */ -export function getAwsCrossAccountPolicyOutput(args?: GetAwsCrossAccountPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAwsCrossAccountPolicyOutput(args?: GetAwsCrossAccountPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", { diff --git a/sdk/nodejs/getAwsUnityCatalogAssumeRolePolicy.ts b/sdk/nodejs/getAwsUnityCatalogAssumeRolePolicy.ts index a697d85e..2a6f61fa 100644 --- a/sdk/nodejs/getAwsUnityCatalogAssumeRolePolicy.ts +++ b/sdk/nodejs/getAwsUnityCatalogAssumeRolePolicy.ts @@ -118,7 +118,7 @@ export interface GetAwsUnityCatalogAssumeRolePolicyResult { * }); * ``` */ -export function getAwsUnityCatalogAssumeRolePolicyOutput(args: GetAwsUnityCatalogAssumeRolePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAwsUnityCatalogAssumeRolePolicyOutput(args: GetAwsUnityCatalogAssumeRolePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", { "awsAccountId": args.awsAccountId, diff --git a/sdk/nodejs/getAwsUnityCatalogPolicy.ts b/sdk/nodejs/getAwsUnityCatalogPolicy.ts index 6754b9c8..3f33da96 100644 --- a/sdk/nodejs/getAwsUnityCatalogPolicy.ts +++ b/sdk/nodejs/getAwsUnityCatalogPolicy.ts @@ -121,7 +121,7 @@ export interface GetAwsUnityCatalogPolicyResult { * }); * ``` */ -export function getAwsUnityCatalogPolicyOutput(args: GetAwsUnityCatalogPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAwsUnityCatalogPolicyOutput(args: GetAwsUnityCatalogPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", { "awsAccountId": args.awsAccountId, diff --git a/sdk/nodejs/getCatalog.ts b/sdk/nodejs/getCatalog.ts index 384b6b15..26cdbeb5 100644 --- a/sdk/nodejs/getCatalog.ts +++ b/sdk/nodejs/getCatalog.ts @@ -118,7 +118,7 @@ export interface GetCatalogResult { * * databricks.Grant to manage grants within Unity Catalog. * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore. */ -export function getCatalogOutput(args: GetCatalogOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCatalogOutput(args: GetCatalogOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getCatalog:getCatalog", { "catalogInfo": args.catalogInfo, diff --git a/sdk/nodejs/getCatalogs.ts b/sdk/nodejs/getCatalogs.ts index 92a07240..3449b0ce 100644 --- a/sdk/nodejs/getCatalogs.ts +++ b/sdk/nodejs/getCatalogs.ts @@ -87,7 +87,7 @@ export interface GetCatalogsResult { * * databricks.Schema to manage schemas within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getCatalogsOutput(args?: GetCatalogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCatalogsOutput(args?: GetCatalogsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getCatalogs:getCatalogs", { diff --git a/sdk/nodejs/getCluster.ts b/sdk/nodejs/getCluster.ts index d6f9ebe8..6f7ba7f3 100644 --- a/sdk/nodejs/getCluster.ts +++ b/sdk/nodejs/getCluster.ts @@ -119,7 +119,7 @@ export interface GetClusterResult { * * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster. * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). */ -export function getClusterOutput(args?: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getClusterOutput(args?: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getCluster:getCluster", { diff --git a/sdk/nodejs/getClusterPolicy.ts b/sdk/nodejs/getClusterPolicy.ts index 1306b1f9..80f6b687 100644 --- a/sdk/nodejs/getClusterPolicy.ts +++ b/sdk/nodejs/getClusterPolicy.ts @@ -129,7 +129,7 @@ export interface GetClusterPolicyResult { * const myCluster = new databricks.Cluster("my_cluster", {policyId: personal.then(personal => personal.id)}); * ``` */ -export function getClusterPolicyOutput(args?: GetClusterPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getClusterPolicyOutput(args?: GetClusterPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getClusterPolicy:getClusterPolicy", { diff --git a/sdk/nodejs/getClusters.ts b/sdk/nodejs/getClusters.ts index c655f5a9..4aad8a07 100644 --- a/sdk/nodejs/getClusters.ts +++ b/sdk/nodejs/getClusters.ts @@ -126,7 +126,7 @@ export interface GetClustersResult { * * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster. * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html). */ -export function getClustersOutput(args?: GetClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getClustersOutput(args?: GetClustersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getClusters:getClusters", { diff --git a/sdk/nodejs/getCurrentConfig.ts b/sdk/nodejs/getCurrentConfig.ts index 2d846c8d..d08b1b3b 100644 --- a/sdk/nodejs/getCurrentConfig.ts +++ b/sdk/nodejs/getCurrentConfig.ts @@ -143,7 +143,7 @@ export interface GetCurrentConfigResult { * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html). */ -export function getCurrentConfigOutput(args?: GetCurrentConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCurrentConfigOutput(args?: GetCurrentConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getCurrentConfig:getCurrentConfig", { diff --git a/sdk/nodejs/getCurrentMetastore.ts b/sdk/nodejs/getCurrentMetastore.ts index c3416259..70b06b5f 100644 --- a/sdk/nodejs/getCurrentMetastore.ts +++ b/sdk/nodejs/getCurrentMetastore.ts @@ -98,7 +98,7 @@ export interface GetCurrentMetastoreResult { * * databricks.Metastore to manage Metastores within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getCurrentMetastoreOutput(args?: GetCurrentMetastoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCurrentMetastoreOutput(args?: GetCurrentMetastoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getCurrentMetastore:getCurrentMetastore", { diff --git a/sdk/nodejs/getCurrentUser.ts b/sdk/nodejs/getCurrentUser.ts index 80d11871..02fe55e1 100644 --- a/sdk/nodejs/getCurrentUser.ts +++ b/sdk/nodejs/getCurrentUser.ts @@ -36,7 +36,7 @@ export interface GetCurrentUserResult { * * Retrieves information about databricks.User or databricks_service_principal, that is calling Databricks REST API. Might be useful in applying the same Pulumi by different users in the shared workspace for testing purposes. */ -export function getCurrentUserOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCurrentUserOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getCurrentUser:getCurrentUser", { }, opts); diff --git a/sdk/nodejs/getDbfsFile.ts b/sdk/nodejs/getDbfsFile.ts index f2c6642e..981977b5 100644 --- a/sdk/nodejs/getDbfsFile.ts +++ b/sdk/nodejs/getDbfsFile.ts @@ -97,7 +97,7 @@ export interface GetDbfsFileResult { * * databricks.DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html). * * databricks.Mount to [mount your cloud storage](https://docs.databricks.com/data/databricks-file-system.html#mount-object-storage-to-dbfs) on `dbfs:/mnt/name`. */ -export function getDbfsFileOutput(args: GetDbfsFileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDbfsFileOutput(args: GetDbfsFileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getDbfsFile:getDbfsFile", { "limitFileSize": args.limitFileSize, diff --git a/sdk/nodejs/getDbfsFilePaths.ts b/sdk/nodejs/getDbfsFilePaths.ts index 17598d9e..84ed3ef8 100644 --- a/sdk/nodejs/getDbfsFilePaths.ts +++ b/sdk/nodejs/getDbfsFilePaths.ts @@ -99,7 +99,7 @@ export interface GetDbfsFilePathsResult { * * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster. * * databricks.Mount to [mount your cloud storage](https://docs.databricks.com/data/databricks-file-system.html#mount-object-storage-to-dbfs) on `dbfs:/mnt/name`. */ -export function getDbfsFilePathsOutput(args: GetDbfsFilePathsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDbfsFilePathsOutput(args: GetDbfsFilePathsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getDbfsFilePaths:getDbfsFilePaths", { "path": args.path, diff --git a/sdk/nodejs/getDirectory.ts b/sdk/nodejs/getDirectory.ts index 40a3b5c1..0419dfb4 100644 --- a/sdk/nodejs/getDirectory.ts +++ b/sdk/nodejs/getDirectory.ts @@ -80,7 +80,7 @@ export interface GetDirectoryResult { * }); * ``` */ -export function getDirectoryOutput(args: GetDirectoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDirectoryOutput(args: GetDirectoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getDirectory:getDirectory", { "id": args.id, diff --git a/sdk/nodejs/getExternalLocation.ts b/sdk/nodejs/getExternalLocation.ts index 1fb20902..0aa46cab 100644 --- a/sdk/nodejs/getExternalLocation.ts +++ b/sdk/nodejs/getExternalLocation.ts @@ -99,7 +99,7 @@ export interface GetExternalLocationResult { * * databricks.getExternalLocations to get names of all external locations * * databricks.ExternalLocation to manage external locations within Unity Catalog. */ -export function getExternalLocationOutput(args: GetExternalLocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getExternalLocationOutput(args: GetExternalLocationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getExternalLocation:getExternalLocation", { "externalLocationInfo": args.externalLocationInfo, diff --git a/sdk/nodejs/getExternalLocations.ts b/sdk/nodejs/getExternalLocations.ts index bb9b32a0..efcedcba 100644 --- a/sdk/nodejs/getExternalLocations.ts +++ b/sdk/nodejs/getExternalLocations.ts @@ -83,7 +83,7 @@ export interface GetExternalLocationsResult { * * databricks.ExternalLocation to get information about a single external location * * databricks.ExternalLocation to manage external locations within Unity Catalog. */ -export function getExternalLocationsOutput(args?: GetExternalLocationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getExternalLocationsOutput(args?: GetExternalLocationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getExternalLocations:getExternalLocations", { diff --git a/sdk/nodejs/getFunctions.ts b/sdk/nodejs/getFunctions.ts index 8d970eeb..c4c3d972 100644 --- a/sdk/nodejs/getFunctions.ts +++ b/sdk/nodejs/getFunctions.ts @@ -112,7 +112,7 @@ export interface GetFunctionsResult { * * * databricks.Schema to get information about a single schema */ -export function getFunctionsOutput(args: GetFunctionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getFunctionsOutput(args: GetFunctionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getFunctions:getFunctions", { "catalogName": args.catalogName, diff --git a/sdk/nodejs/getGroup.ts b/sdk/nodejs/getGroup.ts index c4a1d10e..186c9510 100644 --- a/sdk/nodejs/getGroup.ts +++ b/sdk/nodejs/getGroup.ts @@ -201,7 +201,7 @@ export interface GetGroupResult { * * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. * * databricks.User to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to databricks.Group within the workspace. */ -export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getGroup:getGroup", { "aclPrincipalId": args.aclPrincipalId, diff --git a/sdk/nodejs/getInstancePool.ts b/sdk/nodejs/getInstancePool.ts index 1ff2880a..5d4b78fb 100644 --- a/sdk/nodejs/getInstancePool.ts +++ b/sdk/nodejs/getInstancePool.ts @@ -80,7 +80,7 @@ export interface GetInstancePoolResult { * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: pool.then(pool => pool.id)}); * ``` */ -export function getInstancePoolOutput(args: GetInstancePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getInstancePoolOutput(args: GetInstancePoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getInstancePool:getInstancePool", { "name": args.name, diff --git a/sdk/nodejs/getInstanceProfiles.ts b/sdk/nodejs/getInstanceProfiles.ts index e27aa088..30966f35 100644 --- a/sdk/nodejs/getInstanceProfiles.ts +++ b/sdk/nodejs/getInstanceProfiles.ts @@ -67,7 +67,7 @@ export interface GetInstanceProfilesResult { * export const allInstanceProfiles = all.then(all => all.instanceProfiles); * ``` */ -export function getInstanceProfilesOutput(args?: GetInstanceProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getInstanceProfilesOutput(args?: GetInstanceProfilesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getInstanceProfiles:getInstanceProfiles", { diff --git a/sdk/nodejs/getJob.ts b/sdk/nodejs/getJob.ts index 2ea2e267..40e8fab0 100644 --- a/sdk/nodejs/getJob.ts +++ b/sdk/nodejs/getJob.ts @@ -109,7 +109,7 @@ export interface GetJobResult { * * databricks.getJobs data to get all jobs and their names from a workspace. * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. */ -export function getJobOutput(args?: GetJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getJobOutput(args?: GetJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getJob:getJob", { diff --git a/sdk/nodejs/getJobs.ts b/sdk/nodejs/getJobs.ts index d325ae41..3becfc1f 100644 --- a/sdk/nodejs/getJobs.ts +++ b/sdk/nodejs/getJobs.ts @@ -127,7 +127,7 @@ export interface GetJobsResult { * * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. */ -export function getJobsOutput(args?: GetJobsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getJobsOutput(args?: GetJobsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getJobs:getJobs", { diff --git a/sdk/nodejs/getMetastore.ts b/sdk/nodejs/getMetastore.ts index 21068663..b9c2b4aa 100644 --- a/sdk/nodejs/getMetastore.ts +++ b/sdk/nodejs/getMetastore.ts @@ -143,7 +143,7 @@ export interface GetMetastoreResult { * * databricks.Metastore to manage Metastores within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getMetastoreOutput(args?: GetMetastoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMetastoreOutput(args?: GetMetastoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getMetastore:getMetastore", { diff --git a/sdk/nodejs/getMetastores.ts b/sdk/nodejs/getMetastores.ts index c11cdb0b..a91ae721 100644 --- a/sdk/nodejs/getMetastores.ts +++ b/sdk/nodejs/getMetastores.ts @@ -89,7 +89,7 @@ export interface GetMetastoresResult { * * databricks.Metastore to manage Metastores within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getMetastoresOutput(args?: GetMetastoresOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMetastoresOutput(args?: GetMetastoresOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getMetastores:getMetastores", { diff --git a/sdk/nodejs/getMlflowExperiment.ts b/sdk/nodejs/getMlflowExperiment.ts index cfef24c2..fe9aaaf5 100644 --- a/sdk/nodejs/getMlflowExperiment.ts +++ b/sdk/nodejs/getMlflowExperiment.ts @@ -106,7 +106,7 @@ export interface GetMlflowExperimentResult { * * Retrieves the settings of databricks.MlflowExperiment by id or name. */ -export function getMlflowExperimentOutput(args?: GetMlflowExperimentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMlflowExperimentOutput(args?: GetMlflowExperimentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getMlflowExperiment:getMlflowExperiment", { diff --git a/sdk/nodejs/getMlflowModel.ts b/sdk/nodejs/getMlflowModel.ts index 64ed26da..806e59a7 100644 --- a/sdk/nodejs/getMlflowModel.ts +++ b/sdk/nodejs/getMlflowModel.ts @@ -185,7 +185,7 @@ export interface GetMlflowModelResult { * }); * ``` */ -export function getMlflowModelOutput(args: GetMlflowModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMlflowModelOutput(args: GetMlflowModelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getMlflowModel:getMlflowModel", { "description": args.description, diff --git a/sdk/nodejs/getMlflowModels.ts b/sdk/nodejs/getMlflowModels.ts index 711cf165..26244834 100644 --- a/sdk/nodejs/getMlflowModels.ts +++ b/sdk/nodejs/getMlflowModels.ts @@ -65,7 +65,7 @@ export interface GetMlflowModelsResult { * export const model = _this; * ``` */ -export function getMlflowModelsOutput(args?: GetMlflowModelsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMlflowModelsOutput(args?: GetMlflowModelsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getMlflowModels:getMlflowModels", { diff --git a/sdk/nodejs/getMwsCredentials.ts b/sdk/nodejs/getMwsCredentials.ts index f500acf9..9d07528b 100644 --- a/sdk/nodejs/getMwsCredentials.ts +++ b/sdk/nodejs/getMwsCredentials.ts @@ -95,7 +95,7 @@ export interface GetMwsCredentialsResult { * * databricks.MwsStorageConfigurations to configure root bucket new workspaces within AWS. * * databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1). */ -export function getMwsCredentialsOutput(args?: GetMwsCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMwsCredentialsOutput(args?: GetMwsCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getMwsCredentials:getMwsCredentials", { diff --git a/sdk/nodejs/getMwsWorkspaces.ts b/sdk/nodejs/getMwsWorkspaces.ts index 59de1a06..e28b7a7c 100644 --- a/sdk/nodejs/getMwsWorkspaces.ts +++ b/sdk/nodejs/getMwsWorkspaces.ts @@ -87,7 +87,7 @@ export interface GetMwsWorkspacesResult { * * databricks.MwsWorkspaces to manage Databricks Workspaces on AWS and GCP. * * databricks.MetastoreAssignment to assign databricks.Metastore to databricks.MwsWorkspaces or azurermDatabricksWorkspace */ -export function getMwsWorkspacesOutput(args?: GetMwsWorkspacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMwsWorkspacesOutput(args?: GetMwsWorkspacesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getMwsWorkspaces:getMwsWorkspaces", { diff --git a/sdk/nodejs/getNodeType.ts b/sdk/nodejs/getNodeType.ts index 0a18f438..4da7c9c1 100644 --- a/sdk/nodejs/getNodeType.ts +++ b/sdk/nodejs/getNodeType.ts @@ -206,7 +206,7 @@ export interface GetNodeTypeResult { * * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances. * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. */ -export function getNodeTypeOutput(args?: GetNodeTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getNodeTypeOutput(args?: GetNodeTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getNodeType:getNodeType", { diff --git a/sdk/nodejs/getNotebook.ts b/sdk/nodejs/getNotebook.ts index 6498f342..8e88f5e4 100644 --- a/sdk/nodejs/getNotebook.ts +++ b/sdk/nodejs/getNotebook.ts @@ -106,7 +106,7 @@ export interface GetNotebookResult { * }); * ``` */ -export function getNotebookOutput(args: GetNotebookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getNotebookOutput(args: GetNotebookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getNotebook:getNotebook", { "format": args.format, diff --git a/sdk/nodejs/getNotebookPaths.ts b/sdk/nodejs/getNotebookPaths.ts index ff980009..f8bf806c 100644 --- a/sdk/nodejs/getNotebookPaths.ts +++ b/sdk/nodejs/getNotebookPaths.ts @@ -77,7 +77,7 @@ export interface GetNotebookPathsResult { * }); * ``` */ -export function getNotebookPathsOutput(args: GetNotebookPathsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getNotebookPathsOutput(args: GetNotebookPathsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getNotebookPaths:getNotebookPaths", { "path": args.path, diff --git a/sdk/nodejs/getNotificationDestinations.ts b/sdk/nodejs/getNotificationDestinations.ts index 06922544..1c917576 100644 --- a/sdk/nodejs/getNotificationDestinations.ts +++ b/sdk/nodejs/getNotificationDestinations.ts @@ -122,7 +122,7 @@ export interface GetNotificationDestinationsResult { * }); * ``` */ -export function getNotificationDestinationsOutput(args?: GetNotificationDestinationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getNotificationDestinationsOutput(args?: GetNotificationDestinationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getNotificationDestinations:getNotificationDestinations", { diff --git a/sdk/nodejs/getPipelines.ts b/sdk/nodejs/getPipelines.ts index eff30daa..114e73a4 100644 --- a/sdk/nodejs/getPipelines.ts +++ b/sdk/nodejs/getPipelines.ts @@ -143,7 +143,7 @@ export interface GetPipelinesResult { * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html). */ -export function getPipelinesOutput(args?: GetPipelinesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getPipelinesOutput(args?: GetPipelinesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getPipelines:getPipelines", { diff --git a/sdk/nodejs/getRegisteredModel.ts b/sdk/nodejs/getRegisteredModel.ts index 4158a8c9..d4a5d234 100644 --- a/sdk/nodejs/getRegisteredModel.ts +++ b/sdk/nodejs/getRegisteredModel.ts @@ -105,7 +105,7 @@ export interface GetRegisteredModelResult { * * 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. */ -export function getRegisteredModelOutput(args: GetRegisteredModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRegisteredModelOutput(args: GetRegisteredModelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getRegisteredModel:getRegisteredModel", { "fullName": args.fullName, diff --git a/sdk/nodejs/getSchema.ts b/sdk/nodejs/getSchema.ts index de277207..d4429ee9 100644 --- a/sdk/nodejs/getSchema.ts +++ b/sdk/nodejs/getSchema.ts @@ -126,7 +126,7 @@ export interface GetSchemaResult { * * databricks.Schema to manage schemas within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getSchema:getSchema", { "id": args.id, diff --git a/sdk/nodejs/getSchemas.ts b/sdk/nodejs/getSchemas.ts index 18bfa374..5333935b 100644 --- a/sdk/nodejs/getSchemas.ts +++ b/sdk/nodejs/getSchemas.ts @@ -96,7 +96,7 @@ export interface GetSchemasResult { * * databricks.Schema to manage schemas within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getSchemasOutput(args: GetSchemasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSchemasOutput(args: GetSchemasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getSchemas:getSchemas", { "catalogName": args.catalogName, diff --git a/sdk/nodejs/getServicePrincipal.ts b/sdk/nodejs/getServicePrincipal.ts index 5bdeef18..54177c24 100644 --- a/sdk/nodejs/getServicePrincipal.ts +++ b/sdk/nodejs/getServicePrincipal.ts @@ -170,7 +170,7 @@ export interface GetServicePrincipalResult { * - databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace. * - databricksService principal to manage service principals */ -export function getServicePrincipalOutput(args?: GetServicePrincipalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getServicePrincipalOutput(args?: GetServicePrincipalOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getServicePrincipal:getServicePrincipal", { diff --git a/sdk/nodejs/getServicePrincipals.ts b/sdk/nodejs/getServicePrincipals.ts index 3d49a86f..28770e9a 100644 --- a/sdk/nodejs/getServicePrincipals.ts +++ b/sdk/nodejs/getServicePrincipals.ts @@ -51,7 +51,7 @@ export interface GetServicePrincipalsResult { * * Retrieves `applicationIds` of all databricks.ServicePrincipal based on their `displayName` */ -export function getServicePrincipalsOutput(args?: GetServicePrincipalsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getServicePrincipalsOutput(args?: GetServicePrincipalsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getServicePrincipals:getServicePrincipals", { diff --git a/sdk/nodejs/getShare.ts b/sdk/nodejs/getShare.ts index aa757d49..f5d79c67 100644 --- a/sdk/nodejs/getShare.ts +++ b/sdk/nodejs/getShare.ts @@ -114,7 +114,7 @@ export interface GetShareResult { * * databricks.Recipient to create Delta Sharing recipients. * * databricks.Grants to manage Delta Sharing permissions. */ -export function getShareOutput(args?: GetShareOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getShareOutput(args?: GetShareOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getShare:getShare", { diff --git a/sdk/nodejs/getShares.ts b/sdk/nodejs/getShares.ts index 6fed6912..4f02761a 100644 --- a/sdk/nodejs/getShares.ts +++ b/sdk/nodejs/getShares.ts @@ -81,7 +81,7 @@ export interface GetSharesResult { * * databricks.Recipient to create Delta Sharing recipients. * * databricks.Grants to manage Delta Sharing permissions. */ -export function getSharesOutput(args?: GetSharesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSharesOutput(args?: GetSharesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getShares:getShares", { diff --git a/sdk/nodejs/getSparkVersion.ts b/sdk/nodejs/getSparkVersion.ts index a2cd9c98..a66c927c 100644 --- a/sdk/nodejs/getSparkVersion.ts +++ b/sdk/nodejs/getSparkVersion.ts @@ -191,7 +191,7 @@ export interface GetSparkVersionResult { * * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances. * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster. */ -export function getSparkVersionOutput(args?: GetSparkVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSparkVersionOutput(args?: GetSparkVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getSparkVersion:getSparkVersion", { diff --git a/sdk/nodejs/getSqlWarehouse.ts b/sdk/nodejs/getSqlWarehouse.ts index 33b2edae..ac30ad3f 100644 --- a/sdk/nodejs/getSqlWarehouse.ts +++ b/sdk/nodejs/getSqlWarehouse.ts @@ -287,7 +287,7 @@ export interface GetSqlWarehouseResult { * * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace. * * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html). */ -export function getSqlWarehouseOutput(args?: GetSqlWarehouseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSqlWarehouseOutput(args?: GetSqlWarehouseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getSqlWarehouse:getSqlWarehouse", { diff --git a/sdk/nodejs/getSqlWarehouses.ts b/sdk/nodejs/getSqlWarehouses.ts index 364c093c..6b69834c 100644 --- a/sdk/nodejs/getSqlWarehouses.ts +++ b/sdk/nodejs/getSqlWarehouses.ts @@ -115,7 +115,7 @@ export interface GetSqlWarehousesResult { * * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace. * * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html). */ -export function getSqlWarehousesOutput(args?: GetSqlWarehousesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSqlWarehousesOutput(args?: GetSqlWarehousesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getSqlWarehouses:getSqlWarehouses", { diff --git a/sdk/nodejs/getStorageCredential.ts b/sdk/nodejs/getStorageCredential.ts index 2678e5e2..e5c6b8d3 100644 --- a/sdk/nodejs/getStorageCredential.ts +++ b/sdk/nodejs/getStorageCredential.ts @@ -99,7 +99,7 @@ export interface GetStorageCredentialResult { * * databricks.getStorageCredentials to get names of all credentials * * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. */ -export function getStorageCredentialOutput(args: GetStorageCredentialOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getStorageCredentialOutput(args: GetStorageCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getStorageCredential:getStorageCredential", { "id": args.id, diff --git a/sdk/nodejs/getStorageCredentials.ts b/sdk/nodejs/getStorageCredentials.ts index 1c4d4a65..c8476536 100644 --- a/sdk/nodejs/getStorageCredentials.ts +++ b/sdk/nodejs/getStorageCredentials.ts @@ -83,7 +83,7 @@ export interface GetStorageCredentialsResult { * * databricks.StorageCredential to get information about a single credential * * databricks.StorageCredential to manage Storage Credentials within Unity Catalog. */ -export function getStorageCredentialsOutput(args?: GetStorageCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getStorageCredentialsOutput(args?: GetStorageCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getStorageCredentials:getStorageCredentials", { diff --git a/sdk/nodejs/getTable.ts b/sdk/nodejs/getTable.ts index 087651c5..ec9662cc 100644 --- a/sdk/nodejs/getTable.ts +++ b/sdk/nodejs/getTable.ts @@ -118,7 +118,7 @@ export interface GetTableResult { * * databricks.Grant to manage grants within Unity Catalog. * * databricks.getTables to list all tables within a schema in Unity Catalog. */ -export function getTableOutput(args: GetTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTableOutput(args: GetTableOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getTable:getTable", { "id": args.id, diff --git a/sdk/nodejs/getTables.ts b/sdk/nodejs/getTables.ts index 82df0cb4..dc8f44ad 100644 --- a/sdk/nodejs/getTables.ts +++ b/sdk/nodejs/getTables.ts @@ -132,7 +132,7 @@ export interface GetTablesResult { * * databricks.Schema to manage schemas within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getTablesOutput(args: GetTablesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTablesOutput(args: GetTablesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getTables:getTables", { "catalogName": args.catalogName, diff --git a/sdk/nodejs/getUser.ts b/sdk/nodejs/getUser.ts index 2aa14c0a..3c2334b0 100644 --- a/sdk/nodejs/getUser.ts +++ b/sdk/nodejs/getUser.ts @@ -148,7 +148,7 @@ export interface GetUserResult { * - databricks.User to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to databricks.Group within the workspace. * - databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user. */ -export function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getUser:getUser", { diff --git a/sdk/nodejs/getViews.ts b/sdk/nodejs/getViews.ts index 4768918d..bf9b113a 100644 --- a/sdk/nodejs/getViews.ts +++ b/sdk/nodejs/getViews.ts @@ -128,7 +128,7 @@ export interface GetViewsResult { * * databricks.Schema to manage schemas within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getViewsOutput(args: GetViewsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getViewsOutput(args: GetViewsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getViews:getViews", { "catalogName": args.catalogName, diff --git a/sdk/nodejs/getVolume.ts b/sdk/nodejs/getVolume.ts index e6462736..ee182944 100644 --- a/sdk/nodejs/getVolume.ts +++ b/sdk/nodejs/getVolume.ts @@ -130,7 +130,7 @@ export interface GetVolumeResult { * * databricks.Schema to manage schemas within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getVolume:getVolume", { "id": args.id, diff --git a/sdk/nodejs/getVolumes.ts b/sdk/nodejs/getVolumes.ts index 16a16123..faf63dfe 100644 --- a/sdk/nodejs/getVolumes.ts +++ b/sdk/nodejs/getVolumes.ts @@ -110,7 +110,7 @@ export interface GetVolumesResult { * * databricks.Schema to manage schemas within Unity Catalog. * * databricks.Catalog to manage catalogs within Unity Catalog. */ -export function getVolumesOutput(args: GetVolumesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getVolumesOutput(args: GetVolumesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getVolumes:getVolumes", { "catalogName": args.catalogName, diff --git a/sdk/nodejs/getZones.ts b/sdk/nodejs/getZones.ts index 237e620e..261e6b6b 100644 --- a/sdk/nodejs/getZones.ts +++ b/sdk/nodejs/getZones.ts @@ -77,7 +77,7 @@ export interface GetZonesResult { * const zones = databricks.getZones({}); * ``` */ -export function getZonesOutput(args?: GetZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getZonesOutput(args?: GetZonesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getZones:getZones", { diff --git a/sdk/python/pulumi_databricks/get_aws_assume_role_policy.py b/sdk/python/pulumi_databricks/get_aws_assume_role_policy.py index a3e81397..bd30364f 100644 --- a/sdk/python/pulumi_databricks/get_aws_assume_role_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_assume_role_policy.py @@ -154,7 +154,7 @@ def get_aws_assume_role_policy(databricks_account_id: Optional[str] = None, def get_aws_assume_role_policy_output(databricks_account_id: Optional[pulumi.Input[Optional[str]]] = None, external_id: Optional[pulumi.Input[str]] = None, for_log_delivery: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsAssumeRolePolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsAssumeRolePolicyResult]: """ This data source constructs necessary AWS STS assume role policy for you. @@ -205,7 +205,7 @@ def get_aws_assume_role_policy_output(databricks_account_id: Optional[pulumi.Inp __args__['databricksAccountId'] = databricks_account_id __args__['externalId'] = external_id __args__['forLogDelivery'] = for_log_delivery - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy', __args__, opts=opts, typ=GetAwsAssumeRolePolicyResult) return __ret__.apply(lambda __response__: GetAwsAssumeRolePolicyResult( databricks_account_id=pulumi.get(__response__, 'databricks_account_id'), diff --git a/sdk/python/pulumi_databricks/get_aws_bucket_policy.py b/sdk/python/pulumi_databricks/get_aws_bucket_policy.py index e7a28510..6b6ef9be 100644 --- a/sdk/python/pulumi_databricks/get_aws_bucket_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_bucket_policy.py @@ -147,7 +147,7 @@ def get_aws_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, databricks_account_id: Optional[pulumi.Input[Optional[str]]] = None, databricks_e2_account_id: Optional[pulumi.Input[Optional[str]]] = None, full_access_role: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsBucketPolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsBucketPolicyResult]: """ This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it. @@ -179,7 +179,7 @@ def get_aws_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, __args__['databricksAccountId'] = databricks_account_id __args__['databricksE2AccountId'] = databricks_e2_account_id __args__['fullAccessRole'] = full_access_role - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getAwsBucketPolicy:getAwsBucketPolicy', __args__, opts=opts, typ=GetAwsBucketPolicyResult) return __ret__.apply(lambda __response__: GetAwsBucketPolicyResult( bucket=pulumi.get(__response__, 'bucket'), diff --git a/sdk/python/pulumi_databricks/get_aws_cross_account_policy.py b/sdk/python/pulumi_databricks/get_aws_cross_account_policy.py index 3046a7d1..6c7f1cde 100644 --- a/sdk/python/pulumi_databricks/get_aws_cross_account_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_cross_account_policy.py @@ -181,7 +181,7 @@ def get_aws_cross_account_policy_output(aws_account_id: Optional[pulumi.Input[Op region: Optional[pulumi.Input[Optional[str]]] = None, security_group_id: Optional[pulumi.Input[Optional[str]]] = None, vpc_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsCrossAccountPolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsCrossAccountPolicyResult]: """ > **Note** This data source can only be used with an account-level provider! @@ -223,7 +223,7 @@ def get_aws_cross_account_policy_output(aws_account_id: Optional[pulumi.Input[Op __args__['region'] = region __args__['securityGroupId'] = security_group_id __args__['vpcId'] = vpc_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy', __args__, opts=opts, typ=GetAwsCrossAccountPolicyResult) return __ret__.apply(lambda __response__: GetAwsCrossAccountPolicyResult( aws_account_id=pulumi.get(__response__, 'aws_account_id'), diff --git a/sdk/python/pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py b/sdk/python/pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py index 78fa4805..300f5a46 100644 --- a/sdk/python/pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py @@ -152,7 +152,7 @@ def get_aws_unity_catalog_assume_role_policy_output(aws_account_id: Optional[pul external_id: Optional[pulumi.Input[str]] = None, role_name: Optional[pulumi.Input[str]] = None, unity_catalog_iam_arn: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsUnityCatalogAssumeRolePolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsUnityCatalogAssumeRolePolicyResult]: """ > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws) in case of any questions. @@ -192,7 +192,7 @@ def get_aws_unity_catalog_assume_role_policy_output(aws_account_id: Optional[pul __args__['externalId'] = external_id __args__['roleName'] = role_name __args__['unityCatalogIamArn'] = unity_catalog_iam_arn - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy', __args__, opts=opts, typ=GetAwsUnityCatalogAssumeRolePolicyResult) return __ret__.apply(lambda __response__: GetAwsUnityCatalogAssumeRolePolicyResult( aws_account_id=pulumi.get(__response__, 'aws_account_id'), diff --git a/sdk/python/pulumi_databricks/get_aws_unity_catalog_policy.py b/sdk/python/pulumi_databricks/get_aws_unity_catalog_policy.py index e6e13e8c..c48eb0ee 100644 --- a/sdk/python/pulumi_databricks/get_aws_unity_catalog_policy.py +++ b/sdk/python/pulumi_databricks/get_aws_unity_catalog_policy.py @@ -155,7 +155,7 @@ def get_aws_unity_catalog_policy_output(aws_account_id: Optional[pulumi.Input[st bucket_name: Optional[pulumi.Input[str]] = None, kms_name: Optional[pulumi.Input[Optional[str]]] = None, role_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsUnityCatalogPolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsUnityCatalogPolicyResult]: """ > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws) in case of any questions. @@ -195,7 +195,7 @@ def get_aws_unity_catalog_policy_output(aws_account_id: Optional[pulumi.Input[st __args__['bucketName'] = bucket_name __args__['kmsName'] = kms_name __args__['roleName'] = role_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy', __args__, opts=opts, typ=GetAwsUnityCatalogPolicyResult) return __ret__.apply(lambda __response__: GetAwsUnityCatalogPolicyResult( aws_account_id=pulumi.get(__response__, 'aws_account_id'), diff --git a/sdk/python/pulumi_databricks/get_catalog.py b/sdk/python/pulumi_databricks/get_catalog.py index ac8b6c2a..a5e9cd6e 100644 --- a/sdk/python/pulumi_databricks/get_catalog.py +++ b/sdk/python/pulumi_databricks/get_catalog.py @@ -129,7 +129,7 @@ def get_catalog(catalog_info: Optional[Union['GetCatalogCatalogInfoArgs', 'GetCa def get_catalog_output(catalog_info: Optional[pulumi.Input[Optional[Union['GetCatalogCatalogInfoArgs', 'GetCatalogCatalogInfoArgsDict']]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCatalogResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -170,7 +170,7 @@ def get_catalog_output(catalog_info: Optional[pulumi.Input[Optional[Union['GetCa __args__['catalogInfo'] = catalog_info __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getCatalog:getCatalog', __args__, opts=opts, typ=GetCatalogResult) return __ret__.apply(lambda __response__: GetCatalogResult( catalog_info=pulumi.get(__response__, 'catalog_info'), diff --git a/sdk/python/pulumi_databricks/get_catalogs.py b/sdk/python/pulumi_databricks/get_catalogs.py index df2cb9eb..4d458904 100644 --- a/sdk/python/pulumi_databricks/get_catalogs.py +++ b/sdk/python/pulumi_databricks/get_catalogs.py @@ -101,7 +101,7 @@ def get_catalogs(ids: Optional[Sequence[str]] = None, id=pulumi.get(__ret__, 'id'), ids=pulumi.get(__ret__, 'ids')) def get_catalogs_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCatalogsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCatalogsResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -133,7 +133,7 @@ def get_catalogs_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = N """ __args__ = dict() __args__['ids'] = ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getCatalogs:getCatalogs', __args__, opts=opts, typ=GetCatalogsResult) return __ret__.apply(lambda __response__: GetCatalogsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_cluster.py b/sdk/python/pulumi_databricks/get_cluster.py index 360dbd61..611c6954 100644 --- a/sdk/python/pulumi_databricks/get_cluster.py +++ b/sdk/python/pulumi_databricks/get_cluster.py @@ -141,7 +141,7 @@ def get_cluster_output(cluster_id: Optional[pulumi.Input[Optional[str]]] = None, cluster_info: Optional[pulumi.Input[Optional[Union['GetClusterClusterInfoArgs', 'GetClusterClusterInfoArgsDict']]]] = None, cluster_name: Optional[pulumi.Input[Optional[str]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClusterResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -182,7 +182,7 @@ def get_cluster_output(cluster_id: Optional[pulumi.Input[Optional[str]]] = None, __args__['clusterInfo'] = cluster_info __args__['clusterName'] = cluster_name __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult) return __ret__.apply(lambda __response__: GetClusterResult( cluster_id=pulumi.get(__response__, 'cluster_id'), diff --git a/sdk/python/pulumi_databricks/get_cluster_policy.py b/sdk/python/pulumi_databricks/get_cluster_policy.py index 8a85bcdd..0263af25 100644 --- a/sdk/python/pulumi_databricks/get_cluster_policy.py +++ b/sdk/python/pulumi_databricks/get_cluster_policy.py @@ -195,7 +195,7 @@ def get_cluster_policy_output(definition: Optional[pulumi.Input[Optional[str]]] name: Optional[pulumi.Input[Optional[str]]] = None, policy_family_definition_overrides: Optional[pulumi.Input[Optional[str]]] = None, policy_family_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterPolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClusterPolicyResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -232,7 +232,7 @@ def get_cluster_policy_output(definition: Optional[pulumi.Input[Optional[str]]] __args__['name'] = name __args__['policyFamilyDefinitionOverrides'] = policy_family_definition_overrides __args__['policyFamilyId'] = policy_family_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getClusterPolicy:getClusterPolicy', __args__, opts=opts, typ=GetClusterPolicyResult) return __ret__.apply(lambda __response__: GetClusterPolicyResult( definition=pulumi.get(__response__, 'definition'), diff --git a/sdk/python/pulumi_databricks/get_clusters.py b/sdk/python/pulumi_databricks/get_clusters.py index 980eb687..eee8193c 100644 --- a/sdk/python/pulumi_databricks/get_clusters.py +++ b/sdk/python/pulumi_databricks/get_clusters.py @@ -142,7 +142,7 @@ def get_clusters_output(cluster_name_contains: Optional[pulumi.Input[Optional[st filter_by: Optional[pulumi.Input[Optional[Union['GetClustersFilterByArgs', 'GetClustersFilterByArgsDict']]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClustersResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClustersResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -190,7 +190,7 @@ def get_clusters_output(cluster_name_contains: Optional[pulumi.Input[Optional[st __args__['filterBy'] = filter_by __args__['id'] = id __args__['ids'] = ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getClusters:getClusters', __args__, opts=opts, typ=GetClustersResult) return __ret__.apply(lambda __response__: GetClustersResult( cluster_name_contains=pulumi.get(__response__, 'cluster_name_contains'), diff --git a/sdk/python/pulumi_databricks/get_current_config.py b/sdk/python/pulumi_databricks/get_current_config.py index f8146602..97c0a6a3 100644 --- a/sdk/python/pulumi_databricks/get_current_config.py +++ b/sdk/python/pulumi_databricks/get_current_config.py @@ -176,7 +176,7 @@ def get_current_config_output(account_id: Optional[pulumi.Input[Optional[str]]] cloud_type: Optional[pulumi.Input[Optional[str]]] = None, host: Optional[pulumi.Input[Optional[str]]] = None, is_account: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCurrentConfigResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCurrentConfigResult]: """ Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud. @@ -238,7 +238,7 @@ def single_or_none(elements): __args__['cloudType'] = cloud_type __args__['host'] = host __args__['isAccount'] = is_account - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getCurrentConfig:getCurrentConfig', __args__, opts=opts, typ=GetCurrentConfigResult) return __ret__.apply(lambda __response__: GetCurrentConfigResult( account_id=pulumi.get(__response__, 'account_id'), diff --git a/sdk/python/pulumi_databricks/get_current_metastore.py b/sdk/python/pulumi_databricks/get_current_metastore.py index 9e439ffc..36cbf3d8 100644 --- a/sdk/python/pulumi_databricks/get_current_metastore.py +++ b/sdk/python/pulumi_databricks/get_current_metastore.py @@ -109,7 +109,7 @@ def get_current_metastore(id: Optional[str] = None, metastore_info=pulumi.get(__ret__, 'metastore_info')) def get_current_metastore_output(id: Optional[pulumi.Input[Optional[str]]] = None, metastore_info: Optional[pulumi.Input[Optional[Union['GetCurrentMetastoreMetastoreInfoArgs', 'GetCurrentMetastoreMetastoreInfoArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCurrentMetastoreResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCurrentMetastoreResult]: """ Retrieves information about metastore attached to a given workspace. @@ -145,7 +145,7 @@ def get_current_metastore_output(id: Optional[pulumi.Input[Optional[str]]] = Non __args__ = dict() __args__['id'] = id __args__['metastoreInfo'] = metastore_info - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getCurrentMetastore:getCurrentMetastore', __args__, opts=opts, typ=GetCurrentMetastoreResult) return __ret__.apply(lambda __response__: GetCurrentMetastoreResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_current_user.py b/sdk/python/pulumi_databricks/get_current_user.py index 6306ee1a..90691d9f 100644 --- a/sdk/python/pulumi_databricks/get_current_user.py +++ b/sdk/python/pulumi_databricks/get_current_user.py @@ -131,14 +131,14 @@ def get_current_user(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe repos=pulumi.get(__ret__, 'repos'), user_name=pulumi.get(__ret__, 'user_name'), workspace_url=pulumi.get(__ret__, 'workspace_url')) -def get_current_user_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCurrentUserResult]: +def get_current_user_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCurrentUserResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. Retrieves information about User or databricks_service_principal, that is calling Databricks REST API. Might be useful in applying the same Pulumi by different users in the shared workspace for testing purposes. """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getCurrentUser:getCurrentUser', __args__, opts=opts, typ=GetCurrentUserResult) return __ret__.apply(lambda __response__: GetCurrentUserResult( acl_principal_id=pulumi.get(__response__, 'acl_principal_id'), diff --git a/sdk/python/pulumi_databricks/get_dbfs_file.py b/sdk/python/pulumi_databricks/get_dbfs_file.py index ea09f868..9ed75576 100644 --- a/sdk/python/pulumi_databricks/get_dbfs_file.py +++ b/sdk/python/pulumi_databricks/get_dbfs_file.py @@ -136,7 +136,7 @@ def get_dbfs_file(limit_file_size: Optional[bool] = None, path=pulumi.get(__ret__, 'path')) def get_dbfs_file_output(limit_file_size: Optional[pulumi.Input[bool]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbfsFileResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbfsFileResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -168,7 +168,7 @@ def get_dbfs_file_output(limit_file_size: Optional[pulumi.Input[bool]] = None, __args__ = dict() __args__['limitFileSize'] = limit_file_size __args__['path'] = path - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getDbfsFile:getDbfsFile', __args__, opts=opts, typ=GetDbfsFileResult) return __ret__.apply(lambda __response__: GetDbfsFileResult( content=pulumi.get(__response__, 'content'), diff --git a/sdk/python/pulumi_databricks/get_dbfs_file_paths.py b/sdk/python/pulumi_databricks/get_dbfs_file_paths.py index f0ba253a..e77fac39 100644 --- a/sdk/python/pulumi_databricks/get_dbfs_file_paths.py +++ b/sdk/python/pulumi_databricks/get_dbfs_file_paths.py @@ -126,7 +126,7 @@ def get_dbfs_file_paths(path: Optional[str] = None, recursive=pulumi.get(__ret__, 'recursive')) def get_dbfs_file_paths_output(path: Optional[pulumi.Input[str]] = None, recursive: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbfsFilePathsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbfsFilePathsResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -160,7 +160,7 @@ def get_dbfs_file_paths_output(path: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['path'] = path __args__['recursive'] = recursive - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getDbfsFilePaths:getDbfsFilePaths', __args__, opts=opts, typ=GetDbfsFilePathsResult) return __ret__.apply(lambda __response__: GetDbfsFilePathsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_directory.py b/sdk/python/pulumi_databricks/get_directory.py index cc877cdc..b1c67c81 100644 --- a/sdk/python/pulumi_databricks/get_directory.py +++ b/sdk/python/pulumi_databricks/get_directory.py @@ -120,7 +120,7 @@ def get_directory_output(id: Optional[pulumi.Input[Optional[str]]] = None, object_id: Optional[pulumi.Input[Optional[int]]] = None, path: Optional[pulumi.Input[str]] = None, workspace_path: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDirectoryResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDirectoryResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -145,7 +145,7 @@ def get_directory_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['objectId'] = object_id __args__['path'] = path __args__['workspacePath'] = workspace_path - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getDirectory:getDirectory', __args__, opts=opts, typ=GetDirectoryResult) return __ret__.apply(lambda __response__: GetDirectoryResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_external_location.py b/sdk/python/pulumi_databricks/get_external_location.py index 7704db2d..2a9bca6a 100644 --- a/sdk/python/pulumi_databricks/get_external_location.py +++ b/sdk/python/pulumi_databricks/get_external_location.py @@ -119,7 +119,7 @@ def get_external_location(external_location_info: Optional[Union['GetExternalLoc def get_external_location_output(external_location_info: Optional[pulumi.Input[Optional[Union['GetExternalLocationExternalLocationInfoArgs', 'GetExternalLocationExternalLocationInfoArgsDict']]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalLocationResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalLocationResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -153,7 +153,7 @@ def get_external_location_output(external_location_info: Optional[pulumi.Input[O __args__['externalLocationInfo'] = external_location_info __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getExternalLocation:getExternalLocation', __args__, opts=opts, typ=GetExternalLocationResult) return __ret__.apply(lambda __response__: GetExternalLocationResult( external_location_info=pulumi.get(__response__, 'external_location_info'), diff --git a/sdk/python/pulumi_databricks/get_external_locations.py b/sdk/python/pulumi_databricks/get_external_locations.py index ea8a6f9a..8f87c0f8 100644 --- a/sdk/python/pulumi_databricks/get_external_locations.py +++ b/sdk/python/pulumi_databricks/get_external_locations.py @@ -99,7 +99,7 @@ def get_external_locations(names: Optional[Sequence[str]] = None, id=pulumi.get(__ret__, 'id'), names=pulumi.get(__ret__, 'names')) def get_external_locations_output(names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalLocationsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalLocationsResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -129,7 +129,7 @@ def get_external_locations_output(names: Optional[pulumi.Input[Optional[Sequence """ __args__ = dict() __args__['names'] = names - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getExternalLocations:getExternalLocations', __args__, opts=opts, typ=GetExternalLocationsResult) return __ret__.apply(lambda __response__: GetExternalLocationsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_functions.py b/sdk/python/pulumi_databricks/get_functions.py index abfdc3a9..e24730c5 100644 --- a/sdk/python/pulumi_databricks/get_functions.py +++ b/sdk/python/pulumi_databricks/get_functions.py @@ -149,7 +149,7 @@ def get_functions_output(catalog_name: Optional[pulumi.Input[str]] = None, functions: Optional[pulumi.Input[Optional[Sequence[Union['GetFunctionsFunctionArgs', 'GetFunctionsFunctionArgsDict']]]]] = None, include_browse: Optional[pulumi.Input[Optional[bool]]] = None, schema_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFunctionsResult]: """ > This data source can only be used with a workspace-level provider! @@ -185,7 +185,7 @@ def get_functions_output(catalog_name: Optional[pulumi.Input[str]] = None, __args__['functions'] = functions __args__['includeBrowse'] = include_browse __args__['schemaName'] = schema_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getFunctions:getFunctions', __args__, opts=opts, typ=GetFunctionsResult) return __ret__.apply(lambda __response__: GetFunctionsResult( catalog_name=pulumi.get(__response__, 'catalog_name'), diff --git a/sdk/python/pulumi_databricks/get_group.py b/sdk/python/pulumi_databricks/get_group.py index 3a4e4870..efc8a7da 100644 --- a/sdk/python/pulumi_databricks/get_group.py +++ b/sdk/python/pulumi_databricks/get_group.py @@ -310,7 +310,7 @@ def get_group_output(acl_principal_id: Optional[pulumi.Input[Optional[str]]] = N service_principals: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, users: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, workspace_access: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -370,7 +370,7 @@ def get_group_output(acl_principal_id: Optional[pulumi.Input[Optional[str]]] = N __args__['servicePrincipals'] = service_principals __args__['users'] = users __args__['workspaceAccess'] = workspace_access - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getGroup:getGroup', __args__, opts=opts, typ=GetGroupResult) return __ret__.apply(lambda __response__: GetGroupResult( acl_principal_id=pulumi.get(__response__, 'acl_principal_id'), diff --git a/sdk/python/pulumi_databricks/get_instance_pool.py b/sdk/python/pulumi_databricks/get_instance_pool.py index c70cfc0b..32af5e57 100644 --- a/sdk/python/pulumi_databricks/get_instance_pool.py +++ b/sdk/python/pulumi_databricks/get_instance_pool.py @@ -108,7 +108,7 @@ def get_instance_pool(name: Optional[str] = None, pool_info=pulumi.get(__ret__, 'pool_info')) def get_instance_pool_output(name: Optional[pulumi.Input[str]] = None, pool_info: Optional[pulumi.Input[Optional[Union['GetInstancePoolPoolInfoArgs', 'GetInstancePoolPoolInfoArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstancePoolResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstancePoolResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -133,7 +133,7 @@ def get_instance_pool_output(name: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['name'] = name __args__['poolInfo'] = pool_info - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getInstancePool:getInstancePool', __args__, opts=opts, typ=GetInstancePoolResult) return __ret__.apply(lambda __response__: GetInstancePoolResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_instance_profiles.py b/sdk/python/pulumi_databricks/get_instance_profiles.py index 627a5437..240f44ee 100644 --- a/sdk/python/pulumi_databricks/get_instance_profiles.py +++ b/sdk/python/pulumi_databricks/get_instance_profiles.py @@ -92,7 +92,7 @@ def get_instance_profiles(instance_profiles: Optional[Sequence[Union['GetInstanc id=pulumi.get(__ret__, 'id'), instance_profiles=pulumi.get(__ret__, 'instance_profiles')) def get_instance_profiles_output(instance_profiles: Optional[pulumi.Input[Optional[Sequence[Union['GetInstanceProfilesInstanceProfileArgs', 'GetInstanceProfilesInstanceProfileArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceProfilesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceProfilesResult]: """ Lists all available databricks_instance_profiles. @@ -113,7 +113,7 @@ def get_instance_profiles_output(instance_profiles: Optional[pulumi.Input[Option """ __args__ = dict() __args__['instanceProfiles'] = instance_profiles - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getInstanceProfiles:getInstanceProfiles', __args__, opts=opts, typ=GetInstanceProfilesResult) return __ret__.apply(lambda __response__: GetInstanceProfilesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_job.py b/sdk/python/pulumi_databricks/get_job.py index d65e2882..b9bea6e2 100644 --- a/sdk/python/pulumi_databricks/get_job.py +++ b/sdk/python/pulumi_databricks/get_job.py @@ -148,7 +148,7 @@ def get_job_output(id: Optional[pulumi.Input[Optional[str]]] = None, job_name: Optional[pulumi.Input[Optional[str]]] = None, job_settings: Optional[pulumi.Input[Optional[Union['GetJobJobSettingsArgs', 'GetJobJobSettingsArgsDict']]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetJobResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetJobResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -184,7 +184,7 @@ def get_job_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['jobName'] = job_name __args__['jobSettings'] = job_settings __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getJob:getJob', __args__, opts=opts, typ=GetJobResult) return __ret__.apply(lambda __response__: GetJobResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_jobs.py b/sdk/python/pulumi_databricks/get_jobs.py index 1fc3ac7d..b92258e2 100644 --- a/sdk/python/pulumi_databricks/get_jobs.py +++ b/sdk/python/pulumi_databricks/get_jobs.py @@ -117,7 +117,7 @@ def get_jobs(ids: Optional[Mapping[str, str]] = None, id=pulumi.get(__ret__, 'id'), ids=pulumi.get(__ret__, 'ids')) def get_jobs_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetJobsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetJobsResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -165,7 +165,7 @@ def get_jobs_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = N """ __args__ = dict() __args__['ids'] = ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getJobs:getJobs', __args__, opts=opts, typ=GetJobsResult) return __ret__.apply(lambda __response__: GetJobsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_metastore.py b/sdk/python/pulumi_databricks/get_metastore.py index e817e555..bf792c57 100644 --- a/sdk/python/pulumi_databricks/get_metastore.py +++ b/sdk/python/pulumi_databricks/get_metastore.py @@ -162,7 +162,7 @@ def get_metastore_output(id: Optional[pulumi.Input[Optional[str]]] = None, metastore_info: Optional[pulumi.Input[Optional[Union['GetMetastoreMetastoreInfoArgs', 'GetMetastoreMetastoreInfoArgsDict']]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, region: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetastoreResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMetastoreResult]: """ > **Note** This data source can only be used with an account-level provider! @@ -212,7 +212,7 @@ def get_metastore_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['metastoreInfo'] = metastore_info __args__['name'] = name __args__['region'] = region - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getMetastore:getMetastore', __args__, opts=opts, typ=GetMetastoreResult) return __ret__.apply(lambda __response__: GetMetastoreResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_metastores.py b/sdk/python/pulumi_databricks/get_metastores.py index 9dd13f38..2cba5edf 100644 --- a/sdk/python/pulumi_databricks/get_metastores.py +++ b/sdk/python/pulumi_databricks/get_metastores.py @@ -102,7 +102,7 @@ def get_metastores(ids: Optional[Mapping[str, str]] = None, id=pulumi.get(__ret__, 'id'), ids=pulumi.get(__ret__, 'ids')) def get_metastores_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetastoresResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMetastoresResult]: """ > **Note** This data source can only be used with an account-level provider! @@ -135,7 +135,7 @@ def get_metastores_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]] """ __args__ = dict() __args__['ids'] = ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getMetastores:getMetastores', __args__, opts=opts, typ=GetMetastoresResult) return __ret__.apply(lambda __response__: GetMetastoresResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_mlflow_experiment.py b/sdk/python/pulumi_databricks/get_mlflow_experiment.py index 6889079d..db739acf 100644 --- a/sdk/python/pulumi_databricks/get_mlflow_experiment.py +++ b/sdk/python/pulumi_databricks/get_mlflow_experiment.py @@ -188,7 +188,7 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option lifecycle_stage: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, tags: Optional[pulumi.Input[Optional[Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMlflowExperimentResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowExperimentResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -213,7 +213,7 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option __args__['lifecycleStage'] = lifecycle_stage __args__['name'] = name __args__['tags'] = tags - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getMlflowExperiment:getMlflowExperiment', __args__, opts=opts, typ=GetMlflowExperimentResult) return __ret__.apply(lambda __response__: GetMlflowExperimentResult( artifact_location=pulumi.get(__response__, 'artifact_location'), diff --git a/sdk/python/pulumi_databricks/get_mlflow_model.py b/sdk/python/pulumi_databricks/get_mlflow_model.py index 73e67b74..2b1a54b4 100644 --- a/sdk/python/pulumi_databricks/get_mlflow_model.py +++ b/sdk/python/pulumi_databricks/get_mlflow_model.py @@ -208,7 +208,7 @@ def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[str]]] = permission_level: Optional[pulumi.Input[Optional[str]]] = None, tags: Optional[pulumi.Input[Optional[Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']]]]] = None, user_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMlflowModelResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowModelResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -270,7 +270,7 @@ def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[str]]] = __args__['permissionLevel'] = permission_level __args__['tags'] = tags __args__['userId'] = user_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getMlflowModel:getMlflowModel', __args__, opts=opts, typ=GetMlflowModelResult) return __ret__.apply(lambda __response__: GetMlflowModelResult( description=pulumi.get(__response__, 'description'), diff --git a/sdk/python/pulumi_databricks/get_mlflow_models.py b/sdk/python/pulumi_databricks/get_mlflow_models.py index fe7f66a9..933b89fd 100644 --- a/sdk/python/pulumi_databricks/get_mlflow_models.py +++ b/sdk/python/pulumi_databricks/get_mlflow_models.py @@ -90,7 +90,7 @@ def get_mlflow_models(names: Optional[Sequence[str]] = None, id=pulumi.get(__ret__, 'id'), names=pulumi.get(__ret__, 'names')) def get_mlflow_models_output(names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMlflowModelsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowModelsResult]: """ > **Note** This data source could be only used with workspace-level provider! @@ -111,7 +111,7 @@ def get_mlflow_models_output(names: Optional[pulumi.Input[Optional[Sequence[str] """ __args__ = dict() __args__['names'] = names - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getMlflowModels:getMlflowModels', __args__, opts=opts, typ=GetMlflowModelsResult) return __ret__.apply(lambda __response__: GetMlflowModelsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_mws_credentials.py b/sdk/python/pulumi_databricks/get_mws_credentials.py index 3a7ab2d4..937abfed 100644 --- a/sdk/python/pulumi_databricks/get_mws_credentials.py +++ b/sdk/python/pulumi_databricks/get_mws_credentials.py @@ -105,7 +105,7 @@ def get_mws_credentials(ids: Optional[Mapping[str, str]] = None, id=pulumi.get(__ret__, 'id'), ids=pulumi.get(__ret__, 'ids')) def get_mws_credentials_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMwsCredentialsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMwsCredentialsResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -141,7 +141,7 @@ def get_mws_credentials_output(ids: Optional[pulumi.Input[Optional[Mapping[str, """ __args__ = dict() __args__['ids'] = ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getMwsCredentials:getMwsCredentials', __args__, opts=opts, typ=GetMwsCredentialsResult) return __ret__.apply(lambda __response__: GetMwsCredentialsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_mws_workspaces.py b/sdk/python/pulumi_databricks/get_mws_workspaces.py index 09bb3d51..de6b8ce8 100644 --- a/sdk/python/pulumi_databricks/get_mws_workspaces.py +++ b/sdk/python/pulumi_databricks/get_mws_workspaces.py @@ -101,7 +101,7 @@ def get_mws_workspaces(ids: Optional[Mapping[str, str]] = None, id=pulumi.get(__ret__, 'id'), ids=pulumi.get(__ret__, 'ids')) def get_mws_workspaces_output(ids: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMwsWorkspacesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMwsWorkspacesResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -133,7 +133,7 @@ def get_mws_workspaces_output(ids: Optional[pulumi.Input[Optional[Mapping[str, s """ __args__ = dict() __args__['ids'] = ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getMwsWorkspaces:getMwsWorkspaces', __args__, opts=opts, typ=GetMwsWorkspacesResult) return __ret__.apply(lambda __response__: GetMwsWorkspacesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_node_type.py b/sdk/python/pulumi_databricks/get_node_type.py index 098e4539..c11604b0 100644 --- a/sdk/python/pulumi_databricks/get_node_type.py +++ b/sdk/python/pulumi_databricks/get_node_type.py @@ -291,7 +291,7 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[str]]] = None, photon_driver_capable: Optional[pulumi.Input[Optional[bool]]] = None, photon_worker_capable: Optional[pulumi.Input[Optional[bool]]] = None, support_port_forwarding: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNodeTypeResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodeTypeResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -370,7 +370,7 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[str]]] = None, __args__['photonDriverCapable'] = photon_driver_capable __args__['photonWorkerCapable'] = photon_worker_capable __args__['supportPortForwarding'] = support_port_forwarding - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getNodeType:getNodeType', __args__, opts=opts, typ=GetNodeTypeResult) return __ret__.apply(lambda __response__: GetNodeTypeResult( category=pulumi.get(__response__, 'category'), diff --git a/sdk/python/pulumi_databricks/get_notebook.py b/sdk/python/pulumi_databricks/get_notebook.py index 2760a758..8810c642 100644 --- a/sdk/python/pulumi_databricks/get_notebook.py +++ b/sdk/python/pulumi_databricks/get_notebook.py @@ -178,7 +178,7 @@ def get_notebook_output(format: Optional[pulumi.Input[str]] = None, object_id: Optional[pulumi.Input[Optional[int]]] = None, object_type: Optional[pulumi.Input[Optional[str]]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotebookResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotebookResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -207,7 +207,7 @@ def get_notebook_output(format: Optional[pulumi.Input[str]] = None, __args__['objectId'] = object_id __args__['objectType'] = object_type __args__['path'] = path - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getNotebook:getNotebook', __args__, opts=opts, typ=GetNotebookResult) return __ret__.apply(lambda __response__: GetNotebookResult( content=pulumi.get(__response__, 'content'), diff --git a/sdk/python/pulumi_databricks/get_notebook_paths.py b/sdk/python/pulumi_databricks/get_notebook_paths.py index 514fd417..b1bcd3fc 100644 --- a/sdk/python/pulumi_databricks/get_notebook_paths.py +++ b/sdk/python/pulumi_databricks/get_notebook_paths.py @@ -115,7 +115,7 @@ def get_notebook_paths(path: Optional[str] = None, recursive=pulumi.get(__ret__, 'recursive')) def get_notebook_paths_output(path: Optional[pulumi.Input[str]] = None, recursive: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotebookPathsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotebookPathsResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -138,7 +138,7 @@ def get_notebook_paths_output(path: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['path'] = path __args__['recursive'] = recursive - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getNotebookPaths:getNotebookPaths', __args__, opts=opts, typ=GetNotebookPathsResult) return __ret__.apply(lambda __response__: GetNotebookPathsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_notification_destinations.py b/sdk/python/pulumi_databricks/get_notification_destinations.py index 1d0d1923..4089e299 100644 --- a/sdk/python/pulumi_databricks/get_notification_destinations.py +++ b/sdk/python/pulumi_databricks/get_notification_destinations.py @@ -140,7 +140,7 @@ def get_notification_destinations(display_name_contains: Optional[str] = None, def get_notification_destinations_output(display_name_contains: Optional[pulumi.Input[Optional[str]]] = None, notification_destinations: Optional[pulumi.Input[Optional[Sequence[Union['GetNotificationDestinationsNotificationDestinationArgs', 'GetNotificationDestinationsNotificationDestinationArgsDict']]]]] = None, type: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotificationDestinationsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationDestinationsResult]: """ This data source allows you to retrieve information about [Notification Destinations](https://docs.databricks.com/api/workspace/notificationdestinations). Notification Destinations are used to send notifications for query alerts and jobs to external systems such as email, Slack, Microsoft Teams, PagerDuty, or generic webhooks. @@ -185,7 +185,7 @@ def get_notification_destinations_output(display_name_contains: Optional[pulumi. __args__['displayNameContains'] = display_name_contains __args__['notificationDestinations'] = notification_destinations __args__['type'] = type - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getNotificationDestinations:getNotificationDestinations', __args__, opts=opts, typ=GetNotificationDestinationsResult) return __ret__.apply(lambda __response__: GetNotificationDestinationsResult( display_name_contains=pulumi.get(__response__, 'display_name_contains'), diff --git a/sdk/python/pulumi_databricks/get_pipelines.py b/sdk/python/pulumi_databricks/get_pipelines.py index 456168e3..d63c28d8 100644 --- a/sdk/python/pulumi_databricks/get_pipelines.py +++ b/sdk/python/pulumi_databricks/get_pipelines.py @@ -136,7 +136,7 @@ def get_pipelines(ids: Optional[Sequence[str]] = None, pipeline_name=pulumi.get(__ret__, 'pipeline_name')) def get_pipelines_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, pipeline_name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipelinesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPipelinesResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _authentication is not configured for provider_ errors. @@ -191,7 +191,7 @@ def get_pipelines_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = __args__ = dict() __args__['ids'] = ids __args__['pipelineName'] = pipeline_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getPipelines:getPipelines', __args__, opts=opts, typ=GetPipelinesResult) return __ret__.apply(lambda __response__: GetPipelinesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_registered_model.py b/sdk/python/pulumi_databricks/get_registered_model.py index de285d21..eed10bac 100644 --- a/sdk/python/pulumi_databricks/get_registered_model.py +++ b/sdk/python/pulumi_databricks/get_registered_model.py @@ -144,7 +144,7 @@ def get_registered_model_output(full_name: Optional[pulumi.Input[str]] = None, include_aliases: Optional[pulumi.Input[Optional[bool]]] = None, include_browse: Optional[pulumi.Input[Optional[bool]]] = None, model_infos: Optional[pulumi.Input[Optional[Sequence[Union['GetRegisteredModelModelInfoArgs', 'GetRegisteredModelModelInfoArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegisteredModelResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegisteredModelResult]: """ > This resource can only be used with a workspace-level provider! @@ -178,7 +178,7 @@ def get_registered_model_output(full_name: Optional[pulumi.Input[str]] = None, __args__['includeAliases'] = include_aliases __args__['includeBrowse'] = include_browse __args__['modelInfos'] = model_infos - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getRegisteredModel:getRegisteredModel', __args__, opts=opts, typ=GetRegisteredModelResult) return __ret__.apply(lambda __response__: GetRegisteredModelResult( full_name=pulumi.get(__response__, 'full_name'), diff --git a/sdk/python/pulumi_databricks/get_schema.py b/sdk/python/pulumi_databricks/get_schema.py index 2258e7ba..0614489f 100644 --- a/sdk/python/pulumi_databricks/get_schema.py +++ b/sdk/python/pulumi_databricks/get_schema.py @@ -130,7 +130,7 @@ def get_schema(id: Optional[str] = None, def get_schema_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, schema_info: Optional[pulumi.Input[Optional[Union['GetSchemaSchemaInfoArgs', 'GetSchemaSchemaInfoArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSchemaResult]: """ Retrieves details about Schema that was created by Pulumi or manually. A schema can be identified by its two-level (fully qualified) name (in the form of: `catalog_name`.`schema_name`) as input. This can be retrieved programmatically using get_schemas data source. @@ -172,7 +172,7 @@ def get_schema_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['id'] = id __args__['name'] = name __args__['schemaInfo'] = schema_info - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getSchema:getSchema', __args__, opts=opts, typ=GetSchemaResult) return __ret__.apply(lambda __response__: GetSchemaResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_schemas.py b/sdk/python/pulumi_databricks/get_schemas.py index a3d94237..f8e62552 100644 --- a/sdk/python/pulumi_databricks/get_schemas.py +++ b/sdk/python/pulumi_databricks/get_schemas.py @@ -115,7 +115,7 @@ def get_schemas(catalog_name: Optional[str] = None, ids=pulumi.get(__ret__, 'ids')) def get_schemas_output(catalog_name: Optional[pulumi.Input[str]] = None, ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemasResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSchemasResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -149,7 +149,7 @@ def get_schemas_output(catalog_name: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['catalogName'] = catalog_name __args__['ids'] = ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getSchemas:getSchemas', __args__, opts=opts, typ=GetSchemasResult) return __ret__.apply(lambda __response__: GetSchemasResult( catalog_name=pulumi.get(__response__, 'catalog_name'), diff --git a/sdk/python/pulumi_databricks/get_service_principal.py b/sdk/python/pulumi_databricks/get_service_principal.py index 2683d9c8..23e85ced 100644 --- a/sdk/python/pulumi_databricks/get_service_principal.py +++ b/sdk/python/pulumi_databricks/get_service_principal.py @@ -224,7 +224,7 @@ def get_service_principal_output(acl_principal_id: Optional[pulumi.Input[Optiona id: Optional[pulumi.Input[Optional[str]]] = None, repos: Optional[pulumi.Input[Optional[str]]] = None, sp_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServicePrincipalResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServicePrincipalResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -278,7 +278,7 @@ def get_service_principal_output(acl_principal_id: Optional[pulumi.Input[Optiona __args__['id'] = id __args__['repos'] = repos __args__['spId'] = sp_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getServicePrincipal:getServicePrincipal', __args__, opts=opts, typ=GetServicePrincipalResult) return __ret__.apply(lambda __response__: GetServicePrincipalResult( acl_principal_id=pulumi.get(__response__, 'acl_principal_id'), diff --git a/sdk/python/pulumi_databricks/get_service_principals.py b/sdk/python/pulumi_databricks/get_service_principals.py index e9a637ce..eef8d77c 100644 --- a/sdk/python/pulumi_databricks/get_service_principals.py +++ b/sdk/python/pulumi_databricks/get_service_principals.py @@ -94,7 +94,7 @@ def get_service_principals(application_ids: Optional[Sequence[str]] = None, id=pulumi.get(__ret__, 'id')) def get_service_principals_output(application_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, display_name_contains: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServicePrincipalsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServicePrincipalsResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -107,7 +107,7 @@ def get_service_principals_output(application_ids: Optional[pulumi.Input[Optiona __args__ = dict() __args__['applicationIds'] = application_ids __args__['displayNameContains'] = display_name_contains - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getServicePrincipals:getServicePrincipals', __args__, opts=opts, typ=GetServicePrincipalsResult) return __ret__.apply(lambda __response__: GetServicePrincipalsResult( application_ids=pulumi.get(__response__, 'application_ids'), diff --git a/sdk/python/pulumi_databricks/get_share.py b/sdk/python/pulumi_databricks/get_share.py index b8de3a97..c1adb94d 100644 --- a/sdk/python/pulumi_databricks/get_share.py +++ b/sdk/python/pulumi_databricks/get_share.py @@ -151,7 +151,7 @@ def get_share_output(created_at: Optional[pulumi.Input[Optional[int]]] = None, created_by: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, objects: Optional[pulumi.Input[Optional[Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetShareResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetShareResult]: """ Retrieves details about a Share that were created by Pulumi or manually. @@ -186,7 +186,7 @@ def get_share_output(created_at: Optional[pulumi.Input[Optional[int]]] = None, __args__['createdBy'] = created_by __args__['name'] = name __args__['objects'] = objects - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getShare:getShare', __args__, opts=opts, typ=GetShareResult) return __ret__.apply(lambda __response__: GetShareResult( created_at=pulumi.get(__response__, 'created_at'), diff --git a/sdk/python/pulumi_databricks/get_shares.py b/sdk/python/pulumi_databricks/get_shares.py index 733f9978..9d5d1d48 100644 --- a/sdk/python/pulumi_databricks/get_shares.py +++ b/sdk/python/pulumi_databricks/get_shares.py @@ -98,7 +98,7 @@ def get_shares(shares: Optional[Sequence[str]] = None, id=pulumi.get(__ret__, 'id'), shares=pulumi.get(__ret__, 'shares')) def get_shares_output(shares: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSharesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSharesResult]: """ Retrieves a list of Share name, that were created by Pulumi or manually. @@ -127,7 +127,7 @@ def get_shares_output(shares: Optional[pulumi.Input[Optional[Sequence[str]]]] = """ __args__ = dict() __args__['shares'] = shares - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getShares:getShares', __args__, opts=opts, typ=GetSharesResult) return __ret__.apply(lambda __response__: GetSharesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_spark_version.py b/sdk/python/pulumi_databricks/get_spark_version.py index 967d1577..f8dff6c9 100644 --- a/sdk/python/pulumi_databricks/get_spark_version.py +++ b/sdk/python/pulumi_databricks/get_spark_version.py @@ -244,7 +244,7 @@ def get_spark_version_output(beta: Optional[pulumi.Input[Optional[bool]]] = None photon: Optional[pulumi.Input[Optional[bool]]] = None, scala: Optional[pulumi.Input[Optional[str]]] = None, spark_version: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSparkVersionResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSparkVersionResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -310,7 +310,7 @@ def get_spark_version_output(beta: Optional[pulumi.Input[Optional[bool]]] = None __args__['photon'] = photon __args__['scala'] = scala __args__['sparkVersion'] = spark_version - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getSparkVersion:getSparkVersion', __args__, opts=opts, typ=GetSparkVersionResult) return __ret__.apply(lambda __response__: GetSparkVersionResult( beta=pulumi.get(__response__, 'beta'), diff --git a/sdk/python/pulumi_databricks/get_sql_warehouse.py b/sdk/python/pulumi_databricks/get_sql_warehouse.py index ef4776cb..73eff81c 100644 --- a/sdk/python/pulumi_databricks/get_sql_warehouse.py +++ b/sdk/python/pulumi_databricks/get_sql_warehouse.py @@ -436,7 +436,7 @@ def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[int] state: Optional[pulumi.Input[Optional[str]]] = None, tags: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseTagsArgs', 'GetSqlWarehouseTagsArgsDict']]]] = None, warehouse_type: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlWarehouseResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSqlWarehouseResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -517,7 +517,7 @@ def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[int] __args__['state'] = state __args__['tags'] = tags __args__['warehouseType'] = warehouse_type - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getSqlWarehouse:getSqlWarehouse', __args__, opts=opts, typ=GetSqlWarehouseResult) return __ret__.apply(lambda __response__: GetSqlWarehouseResult( auto_stop_mins=pulumi.get(__response__, 'auto_stop_mins'), diff --git a/sdk/python/pulumi_databricks/get_sql_warehouses.py b/sdk/python/pulumi_databricks/get_sql_warehouses.py index 2f33c42e..55456c96 100644 --- a/sdk/python/pulumi_databricks/get_sql_warehouses.py +++ b/sdk/python/pulumi_databricks/get_sql_warehouses.py @@ -124,7 +124,7 @@ def get_sql_warehouses(ids: Optional[Sequence[str]] = None, warehouse_name_contains=pulumi.get(__ret__, 'warehouse_name_contains')) def get_sql_warehouses_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, warehouse_name_contains: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlWarehousesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSqlWarehousesResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -167,7 +167,7 @@ def get_sql_warehouses_output(ids: Optional[pulumi.Input[Optional[Sequence[str]] __args__ = dict() __args__['ids'] = ids __args__['warehouseNameContains'] = warehouse_name_contains - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getSqlWarehouses:getSqlWarehouses', __args__, opts=opts, typ=GetSqlWarehousesResult) return __ret__.apply(lambda __response__: GetSqlWarehousesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_storage_credential.py b/sdk/python/pulumi_databricks/get_storage_credential.py index 5cad96a7..6d72c937 100644 --- a/sdk/python/pulumi_databricks/get_storage_credential.py +++ b/sdk/python/pulumi_databricks/get_storage_credential.py @@ -119,7 +119,7 @@ def get_storage_credential(id: Optional[str] = None, def get_storage_credential_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, storage_credential_info: Optional[pulumi.Input[Optional[Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageCredentialResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageCredentialResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -153,7 +153,7 @@ def get_storage_credential_output(id: Optional[pulumi.Input[Optional[str]]] = No __args__['id'] = id __args__['name'] = name __args__['storageCredentialInfo'] = storage_credential_info - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getStorageCredential:getStorageCredential', __args__, opts=opts, typ=GetStorageCredentialResult) return __ret__.apply(lambda __response__: GetStorageCredentialResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_storage_credentials.py b/sdk/python/pulumi_databricks/get_storage_credentials.py index ab7d7b2a..1510f428 100644 --- a/sdk/python/pulumi_databricks/get_storage_credentials.py +++ b/sdk/python/pulumi_databricks/get_storage_credentials.py @@ -99,7 +99,7 @@ def get_storage_credentials(names: Optional[Sequence[str]] = None, id=pulumi.get(__ret__, 'id'), names=pulumi.get(__ret__, 'names')) def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageCredentialsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageCredentialsResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -129,7 +129,7 @@ def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequenc """ __args__ = dict() __args__['names'] = names - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getStorageCredentials:getStorageCredentials', __args__, opts=opts, typ=GetStorageCredentialsResult) return __ret__.apply(lambda __response__: GetStorageCredentialsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_table.py b/sdk/python/pulumi_databricks/get_table.py index 0a0a46a2..f0161331 100644 --- a/sdk/python/pulumi_databricks/get_table.py +++ b/sdk/python/pulumi_databricks/get_table.py @@ -128,7 +128,7 @@ def get_table(id: Optional[str] = None, def get_table_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, table_info: Optional[pulumi.Input[Optional[Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTableResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTableResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -171,7 +171,7 @@ def get_table_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['id'] = id __args__['name'] = name __args__['tableInfo'] = table_info - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getTable:getTable', __args__, opts=opts, typ=GetTableResult) return __ret__.apply(lambda __response__: GetTableResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_tables.py b/sdk/python/pulumi_databricks/get_tables.py index 2a7cafd6..2b0b9b61 100644 --- a/sdk/python/pulumi_databricks/get_tables.py +++ b/sdk/python/pulumi_databricks/get_tables.py @@ -140,7 +140,7 @@ def get_tables(catalog_name: Optional[str] = None, def get_tables_output(catalog_name: Optional[pulumi.Input[str]] = None, ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, schema_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTablesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTablesResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -187,7 +187,7 @@ def get_tables_output(catalog_name: Optional[pulumi.Input[str]] = None, __args__['catalogName'] = catalog_name __args__['ids'] = ids __args__['schemaName'] = schema_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getTables:getTables', __args__, opts=opts, typ=GetTablesResult) return __ret__.apply(lambda __response__: GetTablesResult( catalog_name=pulumi.get(__response__, 'catalog_name'), diff --git a/sdk/python/pulumi_databricks/get_user.py b/sdk/python/pulumi_databricks/get_user.py index 3c77e380..d22f8737 100644 --- a/sdk/python/pulumi_databricks/get_user.py +++ b/sdk/python/pulumi_databricks/get_user.py @@ -224,7 +224,7 @@ def get_user(user_id: Optional[str] = None, user_name=pulumi.get(__ret__, 'user_name')) def get_user_output(user_id: Optional[pulumi.Input[Optional[str]]] = None, user_name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -266,7 +266,7 @@ def get_user_output(user_id: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['userId'] = user_id __args__['userName'] = user_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult) return __ret__.apply(lambda __response__: GetUserResult( acl_principal_id=pulumi.get(__response__, 'acl_principal_id'), diff --git a/sdk/python/pulumi_databricks/get_views.py b/sdk/python/pulumi_databricks/get_views.py index a90f3c9b..aa01c4b6 100644 --- a/sdk/python/pulumi_databricks/get_views.py +++ b/sdk/python/pulumi_databricks/get_views.py @@ -138,7 +138,7 @@ def get_views(catalog_name: Optional[str] = None, def get_views_output(catalog_name: Optional[pulumi.Input[str]] = None, ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, schema_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetViewsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetViewsResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -183,7 +183,7 @@ def get_views_output(catalog_name: Optional[pulumi.Input[str]] = None, __args__['catalogName'] = catalog_name __args__['ids'] = ids __args__['schemaName'] = schema_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getViews:getViews', __args__, opts=opts, typ=GetViewsResult) return __ret__.apply(lambda __response__: GetViewsResult( catalog_name=pulumi.get(__response__, 'catalog_name'), diff --git a/sdk/python/pulumi_databricks/get_volume.py b/sdk/python/pulumi_databricks/get_volume.py index b3b00b8e..f355573d 100644 --- a/sdk/python/pulumi_databricks/get_volume.py +++ b/sdk/python/pulumi_databricks/get_volume.py @@ -132,7 +132,7 @@ def get_volume(id: Optional[str] = None, def get_volume_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[str]] = None, volume_info: Optional[pulumi.Input[Optional[Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeResult]: """ Retrieves details about Volume that was created by Pulumi or manually. A volume can be identified by its three-level (fully qualified) name (in the form of: `catalog_name`.`schema_name`.`volume_name`) as input. This can be retrieved programmatically using get_volumes data source. @@ -176,7 +176,7 @@ def get_volume_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['id'] = id __args__['name'] = name __args__['volumeInfo'] = volume_info - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult) return __ret__.apply(lambda __response__: GetVolumeResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_databricks/get_volumes.py b/sdk/python/pulumi_databricks/get_volumes.py index 691497bd..d7126bac 100644 --- a/sdk/python/pulumi_databricks/get_volumes.py +++ b/sdk/python/pulumi_databricks/get_volumes.py @@ -133,7 +133,7 @@ def get_volumes(catalog_name: Optional[str] = None, def get_volumes_output(catalog_name: Optional[pulumi.Input[str]] = None, ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, schema_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumesResult]: """ > **Note** This data source can only be used with a workspace-level provider! @@ -173,7 +173,7 @@ def get_volumes_output(catalog_name: Optional[pulumi.Input[str]] = None, __args__['catalogName'] = catalog_name __args__['ids'] = ids __args__['schemaName'] = schema_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getVolumes:getVolumes', __args__, opts=opts, typ=GetVolumesResult) return __ret__.apply(lambda __response__: GetVolumesResult( catalog_name=pulumi.get(__response__, 'catalog_name'), diff --git a/sdk/python/pulumi_databricks/get_zones.py b/sdk/python/pulumi_databricks/get_zones.py index 9537f621..8c0144ec 100644 --- a/sdk/python/pulumi_databricks/get_zones.py +++ b/sdk/python/pulumi_databricks/get_zones.py @@ -110,7 +110,7 @@ def get_zones(default_zone: Optional[str] = None, def get_zones_output(default_zone: Optional[pulumi.Input[Optional[str]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, zones: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZonesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetZonesResult]: """ > **Note** If you have a fully automated setup with workspaces created by MwsWorkspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent _default auth: cannot configure default credentials_ errors. @@ -134,7 +134,7 @@ def get_zones_output(default_zone: Optional[pulumi.Input[Optional[str]]] = None, __args__['defaultZone'] = default_zone __args__['id'] = id __args__['zones'] = zones - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('databricks:index/getZones:getZones', __args__, opts=opts, typ=GetZonesResult) return __ret__.apply(lambda __response__: GetZonesResult( default_zone=pulumi.get(__response__, 'default_zone'),